toMap

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

Converts options to a map for backward compatibility.