You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
376 B
19 lines
376 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'follow.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Follow {
|
||
|
String? mid = '';
|
||
|
String? nickname = '';
|
||
|
String? avatar = '';
|
||
|
bool? isFollow = false;
|
||
|
|
||
|
Follow();
|
||
|
|
||
|
factory Follow.fromJson(Map<String, dynamic> json) => _$FollowFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$FollowToJson(this);
|
||
|
|
||
|
|
||
|
}
|