dateOfBirth property

  1. @JsonKey(name: "dob", required: true, fromJson: BirthDate.fromJsonKey, toJson: BirthDate.toJsonKey)
BirthDate dateOfBirth
final

Implementation

@JsonKey(
    name: "dob",
    required: true,
    fromJson: BirthDate.fromJsonKey,
    toJson: BirthDate.toJsonKey)
final BirthDate dateOfBirth;