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.
25 lines
604 B
25 lines
604 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/invitation.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/invitation.g.dart'; |
|
|
|
@JsonSerializable() |
|
class Invitation { |
|
String? mid = ''; |
|
String? nickname = ''; |
|
String? avatar = ''; |
|
String? phone = ''; |
|
dynamic isFollow; |
|
String? createTime = ''; |
|
|
|
Invitation(); |
|
|
|
factory Invitation.fromJson(Map<String, dynamic> json) => $InvitationFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $InvitationToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |