toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = {};

  result["limit"] = limit;
  result["threshold"] = threshold;
  if (groupIds != null) result["groupIds"] = groupIds;

  return result;
}