CloudStorageFile.fromJson constructor

CloudStorageFile.fromJson(
  1. Map json_
)

Implementation

CloudStorageFile.fromJson(core.Map json_)
    : this(
        bucketName: json_.containsKey('bucketName')
            ? json_['bucketName'] as core.String
            : null,
        md5Hash: json_.containsKey('md5Hash')
            ? json_['md5Hash'] as core.String
            : null,
        objectName: json_.containsKey('objectName')
            ? json_['objectName'] as core.String
            : null,
        size: json_.containsKey('size') ? json_['size'] as core.String : null,
      );