Group.fromJson constructor
Implementation
factory Group.fromJson(Map<String, Object?> json) {
return Group(
type: GroupType.fromValue(json[r'type'] as String? ?? ''),
name: json[r'name'] as String? ?? '',
id: json[r'id'] as String? ?? '',
links: json[r'_links'] != null
? GenericLinks.fromJson(json[r'_links']! as Map<String, Object?>)
: null,
);
}