toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bucket = this.bucket;
  final key = this.key;
  final roleArn = this.roleArn;
  final glueConfiguration = this.glueConfiguration;
  return {
    'bucket': bucket,
    'key': key,
    'roleArn': roleArn,
    if (glueConfiguration != null) 'glueConfiguration': glueConfiguration,
  };
}