toMap abstract method

Map<String, Object?> toMap()

Converts the filter to a map representation compatible with the Notion API.

This method should be implemented by all concrete filter classes to provide the correct JSON structure for the API request.

Returns a Map<String, Object?> representing the filter in Notion API format.

Implementation

Map<String, Object?> toMap();