UpdateRequest.fromJson constructor

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

Implementation

factory UpdateRequest.fromJson(Map<String, Object?> json) => UpdateRequest(
      name: json["name"] == null ? null : json["name"] as String,
      alias: json["alias"] == null ? null : json["alias"] as String,
      description:
          json["description"] == null ? null : json["description"] as String,
      legalEntityType: json["legal_entity_type"] == null
          ? null
          : json["legal_entity_type"] as String,
    );