serialize method Null safety

Map<String, dynamic> serialize()

Returns a Map representation which is suitable for JSON serialization.

Implementation

Map<String, dynamic> serialize();