toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (count != null) {
    _json[r'count'] = count;
  }
  _json[r'groups'] = groups;
  return _json;
}