GoogleAppsCardV1TextInput.fromJson constructor
GoogleAppsCardV1TextInput.fromJson(
- Map json_
Implementation
GoogleAppsCardV1TextInput.fromJson(core.Map json_)
: this(
autoCompleteAction: json_.containsKey('autoCompleteAction')
? GoogleAppsCardV1Action.fromJson(json_['autoCompleteAction']
as core.Map<core.String, core.dynamic>)
: null,
hintText: json_.containsKey('hintText')
? json_['hintText'] as core.String
: null,
initialSuggestions: json_.containsKey('initialSuggestions')
? GoogleAppsCardV1Suggestions.fromJson(json_['initialSuggestions']
as core.Map<core.String, core.dynamic>)
: null,
label:
json_.containsKey('label') ? json_['label'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
onChangeAction: json_.containsKey('onChangeAction')
? GoogleAppsCardV1Action.fromJson(json_['onChangeAction']
as core.Map<core.String, core.dynamic>)
: null,
placeholderText: json_.containsKey('placeholderText')
? json_['placeholderText'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
value:
json_.containsKey('value') ? json_['value'] as core.String : null,
);