TextAtom.fromJson constructor

TextAtom.fromJson(
  1. Map _json
)

Implementation

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