toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.empty != null) {
    json[r'empty'] = this.empty;
  } else {
    json[r'empty'] = null;
  }
  if (this.sorted != null) {
    json[r'sorted'] = this.sorted;
  } else {
    json[r'sorted'] = null;
  }
  if (this.unsorted != null) {
    json[r'unsorted'] = this.unsorted;
  } else {
    json[r'unsorted'] = null;
  }
  return json;
}