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.
24 lines
583 B
24 lines
583 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/second_card.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/second_card.g.dart'; |
|
|
|
@JsonSerializable() |
|
class SecondCard { |
|
String? id = ''; |
|
String? phone = ''; |
|
String? nickname = ''; |
|
String? headimg = ''; |
|
bool? isAdd = false; |
|
|
|
SecondCard(); |
|
|
|
factory SecondCard.fromJson(Map<String, dynamic> json) => $SecondCardFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $SecondCardToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |