toMap method

  1. @override
Map<String, Object?> toMap()
override

Converts this PaginatedRequestParams into a JSON-compatible map.

Implementation

@override
Map<String, Object?> toMap() {
  return {
    if (cursor != null) 'cursor': cursor,
    '_meta': $meta.toMap(),
  };
}