toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (awsAccessKey != null) 'awsAccessKey': awsAccessKey!,
      if (bucketName != null) 'bucketName': bucketName!,
      if (cloudfrontDomain != null) 'cloudfrontDomain': cloudfrontDomain!,
      if (credentialsSecret != null) 'credentialsSecret': credentialsSecret!,
      if (managedPrivateNetwork != null)
        'managedPrivateNetwork': managedPrivateNetwork!,
      if (path != null) 'path': path!,
      if (roleArn != null) 'roleArn': roleArn!,
    };