toMap method
Converts this PaginatedRequestParams into a JSON-compatible map.
Implementation
@override
Map<String, Object?> toMap() {
return {
if (cursor != null) 'cursor': cursor,
'_meta': $meta.toMap(),
};
}
Converts this PaginatedRequestParams into a JSON-compatible map.
@override
Map<String, Object?> toMap() {
return {
if (cursor != null) 'cursor': cursor,
'_meta': $meta.toMap(),
};
}