Estimation.fromJson constructor Null safety
- Map json
Implementation
Estimation.fromJson(Map json) {
estimation = DateTime.parse(json['estimation']).toLocal();
time = DateTime.parse(json['time']).toLocal();
}
Estimation.fromJson(Map json) {
estimation = DateTime.parse(json['estimation']).toLocal();
time = DateTime.parse(json['time']).toLocal();
}