チーム編集時の文字化け修正済み
This commit is contained in:
@ -19,6 +19,16 @@ class NewCategory {
|
||||
required this.female,
|
||||
});
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is NewCategory &&
|
||||
runtimeType == other.runtimeType &&
|
||||
id == other.id;
|
||||
|
||||
@override
|
||||
int get hashCode => id.hashCode;
|
||||
|
||||
factory NewCategory.fromJson(Map<String, dynamic> json) {
|
||||
return NewCategory(
|
||||
id: json['id'] ?? 0,
|
||||
|
||||
Reference in New Issue
Block a user