fromJson static method

ResourceMemberAllOf fromJson(
  1. dynamic value
)

Returns a new ResourceMemberAllOf instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static ResourceMemberAllOf fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return ResourceMemberAllOf(
    role: ResourceMemberAllOfRoleEnum.fromJson(json[r'role']),
  );
}