EditAtom.fromJson constructor

EditAtom.fromJson(
  1. Map _json
)

Implementation

EditAtom.fromJson(core.Map _json)
    : this(
        endTimeOffset: _json.containsKey('endTimeOffset')
            ? _json['endTimeOffset'] as core.String
            : null,
        inputs: _json.containsKey('inputs')
            ? (_json['inputs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        key: _json.containsKey('key') ? _json['key'] as core.String : null,
        startTimeOffset: _json.containsKey('startTimeOffset')
            ? _json['startTimeOffset'] as core.String
            : null,
      );