toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "limit": limit,
      "threshold": threshold,
      "groupIds": groupIds,
    }.clearNulls();