CollectionPeriod.fromJson constructor
CollectionPeriod.fromJson(
- Map json_
Implementation
CollectionPeriod.fromJson(core.Map json_)
: this(
firstDate: json_.containsKey('firstDate')
? Date.fromJson(
json_['firstDate'] as core.Map<core.String, core.dynamic>)
: null,
lastDate: json_.containsKey('lastDate')
? Date.fromJson(
json_['lastDate'] as core.Map<core.String, core.dynamic>)
: null,
);