toMap

open override fun toMap(): Map<String, Any?>

Converts options to a map for backward compatibility.