toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.bucket != null) {
    json[r'bucket'] = this.bucket;
  } else {
    json[r'bucket'] = null;
  }
    json[r'objects'] = this.objects;
  if (this.prefix != null) {
    json[r'prefix'] = this.prefix;
  } else {
    json[r'prefix'] = null;
  }
  if (this.total != null) {
    json[r'total'] = this.total;
  } else {
    json[r'total'] = null;
  }
  return json;
}