UrlRestriction.fromJson constructor
UrlRestriction.fromJson(
- Map json_
Implementation
UrlRestriction.fromJson(core.Map json_)
: this(
endDate: json_.containsKey('endDate')
? Date.fromJson(
json_['endDate'] as core.Map<core.String, core.dynamic>)
: null,
restrictionType: json_.containsKey('restrictionType')
? json_['restrictionType'] as core.String
: null,
startDate: json_.containsKey('startDate')
? Date.fromJson(
json_['startDate'] as core.Map<core.String, core.dynamic>)
: null,
url: json_.containsKey('url') ? json_['url'] as core.String : null,
);