toMap method Null safety

Map toMap()

Implementation

Map toMap() => toJson();