fromJson static method

AuthorizationPostRequest fromJson(
  1. dynamic value
)

Returns a new AuthorizationPostRequest instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static AuthorizationPostRequest fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return AuthorizationPostRequest(
    status: AuthorizationPostRequestStatusEnum.fromJson(json[r'status']),
    description: mapValueOfType<String>(json, r'description'),
    orgID: mapValueOfType<String>(json, r'orgID'),
    userID: mapValueOfType<String>(json, r'userID'),
    permissions: Permission.listFromJson(json[r'permissions']),
  );
}