fromJson static method
Returns a new Organization instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static Organization fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return Organization(
links: json[r'links'] == null
? null
: OrganizationLinks.fromJson(json[r'links']),
id: mapValueOfType<String>(json, r'id'),
name: mapValueOfType<String>(json, r'name'),
description: mapValueOfType<String>(json, r'description'),
createdAt: mapDateTime(json, r'createdAt', ''),
updatedAt: mapDateTime(json, r'updatedAt', ''),
status: OrganizationStatusEnum.fromJson(json[r'status']),
);
}