toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'query': query,
'only_active': onlyActive,
'only_completed': onlyCompleted,
'offset': offset,
'limit': limit,
'@type': constructor,
};