fromJson static method
Implementation
static CommunityId? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return CommunityId(
id: (json['id'] as int?) ?? 0,
);
}
static CommunityId? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return CommunityId(
id: (json['id'] as int?) ?? 0,
);
}