StageSource.fromJson constructor

StageSource.fromJson(
  1. Map _json
)

Implementation

StageSource.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        originalTransformOrCollection:
            _json.containsKey('originalTransformOrCollection')
                ? _json['originalTransformOrCollection'] as core.String
                : null,
        sizeBytes: _json.containsKey('sizeBytes')
            ? _json['sizeBytes'] as core.String
            : null,
        userName: _json.containsKey('userName')
            ? _json['userName'] as core.String
            : null,
      );