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.
20 lines
419 B
20 lines
419 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'second_card.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|