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.
17 lines
337 B
17 lines
337 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'msg_stats.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class MsgStats {
|
||
|
String? name = '';
|
||
|
int? number = 0;
|
||
|
|
||
|
MsgStats();
|
||
|
|
||
|
factory MsgStats.fromJson(Map<String, dynamic> json) => _$MsgStatsFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$MsgStatsToJson(this);
|
||
|
|
||
|
|
||
|
}
|