AwsS3Data.fromJson constructor

AwsS3Data.fromJson(
  1. Map json_
)

Implementation

AwsS3Data.fromJson(core.Map json_)
    : this(
        awsAccessKey: json_.containsKey('awsAccessKey')
            ? AwsAccessKey.fromJson(
                json_['awsAccessKey'] as core.Map<core.String, core.dynamic>)
            : null,
        bucketName: json_.containsKey('bucketName')
            ? json_['bucketName'] as core.String
            : null,
        cloudfrontDomain: json_.containsKey('cloudfrontDomain')
            ? json_['cloudfrontDomain'] as core.String
            : null,
        credentialsSecret: json_.containsKey('credentialsSecret')
            ? json_['credentialsSecret'] as core.String
            : null,
        managedPrivateNetwork: json_.containsKey('managedPrivateNetwork')
            ? json_['managedPrivateNetwork'] as core.bool
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        roleArn: json_.containsKey('roleArn')
            ? json_['roleArn'] as core.String
            : null,
      );