TimePeriod.fromJson constructor
TimePeriod.fromJson(
- Map json_
Implementation
TimePeriod.fromJson(core.Map json_)
: this(
end: json_.containsKey('end')
? core.DateTime.parse(json_['end'] as core.String)
: null,
start: json_.containsKey('start')
? core.DateTime.parse(json_['start'] as core.String)
: null,
);