GelatoDataDocumentReportDateOfBirth.fromJson constructor
GelatoDataDocumentReportDateOfBirth.fromJson(
- Object? json
Implementation
factory GelatoDataDocumentReportDateOfBirth.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GelatoDataDocumentReportDateOfBirth(
day: map['day'] == null ? null : (map['day'] as num).toInt(),
month: map['month'] == null ? null : (map['month'] as num).toInt(),
year: map['year'] == null ? null : (map['year'] as num).toInt(),
);
}