toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bucketName = this.bucketName;
  final serviceAccessRoleArn = this.serviceAccessRoleArn;
  return {
    if (bucketName != null) 'BucketName': bucketName,
    if (serviceAccessRoleArn != null)
      'ServiceAccessRoleArn': serviceAccessRoleArn,
  };
}