GelatoDataDocumentReportExpirationDate.fromJson constructor
GelatoDataDocumentReportExpirationDate.fromJson(
- Object? json
Implementation
factory GelatoDataDocumentReportExpirationDate.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GelatoDataDocumentReportExpirationDate(
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(),
);
}