LegalEntityDob.fromJson constructor

LegalEntityDob.fromJson(
  1. Object? json
)

Implementation

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