toMap abstract method

Map<String, dynamic> toMap()

Converts the object to a JSON-compatible Map representation.

@returns A map containing the object's properties as key-value pairs.

Implementation

Map<String, dynamic> toMap();