toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = {};
  if (ids != null && ids!.isNotEmpty) {
    result['ids'] = ids!.join(',');
  }

  return result;
}