CreateRequestRelationshipPolicy.fromJson constructor

CreateRequestRelationshipPolicy.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CreateRequestRelationshipPolicy.fromJson(
  Map<String, Object?> json,
) =>
    CreateRequestRelationshipPolicy(
      childStanding: json["child_standing"] == null
          ? null
          : json["child_standing"] as String,
      management: json["management"] == null
          ? null
          : ManagementRole.fromJson(json["management"]),
      credentials: json["credentials"] == null
          ? null
          : CredentialOwner.fromJson(json["credentials"]),
    );