fromJson static method

ResourceMembers fromJson(
  1. dynamic value
)

Returns a new ResourceMembers instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static ResourceMembers fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return ResourceMembers(
    links: json[r'links'] == null
        ? null
        : ResourceMembersLinks.fromJson(json[r'links']),
    users: ResourceMember.listFromJson(json[r'users']),
  );
}