fromJson static method
Implementation
static Birthdate? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return Birthdate(
day: (json['day'] as int?) ?? 0,
month: (json['month'] as int?) ?? 0,
year: (json['year'] as int?) ?? 0,
);
}