toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3BucketName = this.s3BucketName;
  final s3Region = this.s3Region;
  final s3KeyPrefix = this.s3KeyPrefix;
  return {
    'S3BucketName': s3BucketName,
    'S3Region': s3Region,
    if (s3KeyPrefix != null) 'S3KeyPrefix': s3KeyPrefix,
  };
}