toMap

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

Method to transform object into Map

Return

Mapwith the information of the object mapped