EmailRecipientInput.fromJson constructor

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

Implementation

factory EmailRecipientInput.fromJson(
  Map<String, Object?> json,
) =>
    EmailRecipientInput(
      name: json["name"] == null ? null : json["name"] as String,
      email: EmailAddressInput.fromJson(
        (json["email"] as Map).cast<String, Object?>(),
      ),
      type: RecipientType.fromJson(json["type"]),
    );