DownloadModelResponse.fromJson constructor

DownloadModelResponse.fromJson(
  1. Map _json
)

Implementation

DownloadModelResponse.fromJson(core.Map _json)
    : this(
        downloadUri: _json.containsKey('downloadUri')
            ? _json['downloadUri'] as core.String
            : null,
        expireTime: _json.containsKey('expireTime')
            ? _json['expireTime'] as core.String
            : null,
        modelFormat: _json.containsKey('modelFormat')
            ? _json['modelFormat'] as core.String
            : null,
        sizeBytes: _json.containsKey('sizeBytes')
            ? _json['sizeBytes'] as core.String
            : null,
      );