StorageSource.fromJson constructor

StorageSource.fromJson(
  1. Map json_
)

Implementation

StorageSource.fromJson(core.Map json_)
    : this(
        bucket: json_.containsKey('bucket')
            ? json_['bucket'] as core.String
            : null,
        generation: json_.containsKey('generation')
            ? json_['generation'] as core.String
            : null,
        object: json_.containsKey('object')
            ? json_['object'] as core.String
            : null,
        sourceUploadUrl: json_.containsKey('sourceUploadUrl')
            ? json_['sourceUploadUrl'] as core.String
            : null,
      );