チーム編集時の文字化け修正済み
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,
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
// lib/models/team.dart
|
||||
|
||||
import 'dart:convert';
|
||||
import 'category.dart';
|
||||
import 'user.dart';
|
||||
|
||||
@ -10,6 +11,7 @@ class Team {
|
||||
final NewCategory category;
|
||||
final User owner;
|
||||
|
||||
|
||||
Team({
|
||||
required this.id,
|
||||
required this.zekkenNumber,
|
||||
|
||||
Reference in New Issue
Block a user