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