fromMap static method
override
Construct from Map.
Implementation
static DateRange? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var start_date = _map['start_date']! as int;
var end_date = _map['end_date']! as int;
return DateRange(
extra: extra,
clientId: clientId,
start_date: start_date,
end_date: end_date,
);
}