OwnerUpdateInput.fromJson constructor

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

Implementation

factory OwnerUpdateInput.fromJson(
  Map<String, Object?> json,
) =>
    OwnerUpdateInput(
      name: json["name"] == null ? null : json["name"] as String,
      address: json["address"] == null
          ? null
          : OwnerUpdateInputAddress.fromJson(
              (json["address"] as Map).cast<String, Object?>(),
            ),
    );