GoogleAppsCardV1Action.fromJson constructor
GoogleAppsCardV1Action.fromJson(
- Map json_
Implementation
GoogleAppsCardV1Action.fromJson(core.Map json_)
: this(
function: json_.containsKey('function')
? json_['function'] as core.String
: null,
interaction: json_.containsKey('interaction')
? json_['interaction'] as core.String
: null,
loadIndicator: json_.containsKey('loadIndicator')
? json_['loadIndicator'] as core.String
: null,
parameters: json_.containsKey('parameters')
? (json_['parameters'] as core.List)
.map((value) => GoogleAppsCardV1ActionParameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
persistValues: json_.containsKey('persistValues')
? json_['persistValues'] as core.bool
: null,
);