toMap method
Implementation
Map<String, dynamic> toMap() {
var map = {
'ims': ims != null ? ims?.toIso8601String() : null,
'limit': limit,
'topic': topic,
'user': user,
};
map.removeWhere((key, value) => value == null);
return map;
}