toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _data = <String, dynamic>{};
  _data['sorted'] = sorted;
  _data['unsorted'] = unsorted;
  _data['empty'] = empty;
  return _data;
}