toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'category': category,
'changes': changes?.map((Change x) => x.toMap()).toList(),
'nextCursor': nextCursor,
'newStartCursor': newStartCursor,
};
}