toMap method Null safety
Convert this object to a JSON string.
Implementation
@override
Map<String, dynamic> toMap() {
return {
if (total != null) 'total': total,
if (limit != null) 'limit': limit,
};
}
Convert this object to a JSON string.
@override
Map<String, dynamic> toMap() {
return {
if (total != null) 'total': total,
if (limit != null) 'limit': limit,
};
}