toJson method
Implementation
Map<String, Object?> toJson() {
final limit = this.limit;
final notSenders = this.notSenders;
final notTypes = this.notTypes;
final senders = this.senders;
final types = this.types;
return {
if (limit != null) 'limit': limit,
if (notSenders != null) 'not_senders': notSenders.map((v) => v).toList(),
if (notTypes != null) 'not_types': notTypes.map((v) => v).toList(),
if (senders != null) 'senders': senders.map((v) => v).toList(),
if (types != null) 'types': types.map((v) => v).toList(),
};
}