fromJsonKey static method
Implementation
static BirthDate fromJsonKey(String value) {
var l = value.isNotEmpty ? value.split("-") : [];
return BirthDate(
year: l.isNotEmpty ? int.parse(l[0]) : null,
month: l.length > 1 ? int.parse(l[1]) : null,
day: l.length > 2 ? int.parse(l[2]) : null);
}