toMap method

Map<String, dynamic> toMap()

Converts the object to a map for serialization.

Implementation

Map<String, dynamic> toMap() => data;