fromJson static method

Users fromJson(
  1. dynamic value
)

Returns a new Users instance and imports

Implementation

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