DateDataEntity.fromJson constructor
DateDataEntity.fromJson(
- dynamic json
Creates a new DateTimeDataEntity Object from json
json
needs to be a Date String with Format yyyy-MM-dd
Implementation
DateDataEntity.fromJson(dynamic json) {
if (json != null) {
value = _dateFormat.parse(json);
}
}