fromJson static method

ResourceOwnerAllOf fromJson(
  1. dynamic value
)

Returns a new ResourceOwnerAllOf instance and imports

Implementation

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