PopulateVersionFilesResponse.fromJson constructor

PopulateVersionFilesResponse.fromJson(
  1. Map _json
)

Implementation

PopulateVersionFilesResponse.fromJson(core.Map _json)
    : this(
        uploadRequiredHashes: _json.containsKey('uploadRequiredHashes')
            ? (_json['uploadRequiredHashes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        uploadUrl: _json.containsKey('uploadUrl')
            ? _json['uploadUrl'] as core.String
            : null,
      );