toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final destinationPath = this.destinationPath;
  final ownerSetting = this.ownerSetting;
  final s3Uri = this.s3Uri;
  return {
    if (destinationPath != null) 'DestinationPath': destinationPath,
    if (ownerSetting != null) 'OwnerSetting': ownerSetting,
    if (s3Uri != null) 'S3Uri': s3Uri,
  };
}