Snooze.fromJson constructor
Snooze.fromJson(
- Map json_
Implementation
Snooze.fromJson(core.Map json_)
: this(
criteria: json_.containsKey('criteria')
? Criteria.fromJson(
json_['criteria'] as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
interval: json_.containsKey('interval')
? TimeInterval.fromJson(
json_['interval'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);