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,
      );