toJson method

Map<String, dynamic> toJson()

Implementation

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