AwsS3CompatibleData.fromJson constructor

AwsS3CompatibleData.fromJson(
  1. Map json_
)

Implementation

AwsS3CompatibleData.fromJson(core.Map json_)
    : this(
        bucketName: json_.containsKey('bucketName')
            ? json_['bucketName'] as core.String
            : null,
        endpoint: json_.containsKey('endpoint')
            ? json_['endpoint'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        s3Metadata: json_.containsKey('s3Metadata')
            ? S3CompatibleMetadata.fromJson(
                json_['s3Metadata'] as core.Map<core.String, core.dynamic>)
            : null,
      );