toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3Object = this.s3Object;
  return {
    if (s3Object != null) 'S3Object': s3Object,
  };
}