TextAtom.fromJson constructor
TextAtom.fromJson(
- Map _json
Implementation
TextAtom.fromJson(core.Map _json)
: this(
inputs: _json.containsKey('inputs')
? (_json['inputs'] as core.List)
.map<TextInput>((value) => TextInput.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
key: _json.containsKey('key') ? _json['key'] as core.String : null,
);