fromJson static method

ResourceOwners fromJson(
  1. dynamic value
)

Returns a new ResourceOwners instance and imports

Implementation

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