TransformSummary.fromJson constructor

TransformSummary.fromJson(
  1. Map _json
)

Implementation

TransformSummary.fromJson(core.Map _json)
    : this(
        displayData: _json.containsKey('displayData')
            ? (_json['displayData'] as core.List)
                .map<DisplayData>((value) => DisplayData.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        inputCollectionName: _json.containsKey('inputCollectionName')
            ? (_json['inputCollectionName'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        outputCollectionName: _json.containsKey('outputCollectionName')
            ? (_json['outputCollectionName'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );