GelatoDataIdNumberReportDate.fromJson constructor

GelatoDataIdNumberReportDate.fromJson(
  1. Object? json
)

Implementation

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