Service.fromJson constructor
Service.fromJson(
- Map json_
Implementation
Service.fromJson(core.Map json_)
: this(
intentFilter: json_.containsKey('intentFilter')
? (json_['intentFilter'] as core.List)
.map((value) => IntentFilter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);