toMap

fun toMap(): Map

Returns element as a Map.

Return

element as Map or empty Map if fail