toJson method

Map<String, dynamic> toJson()

Implementation

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