toMap method Null safety

Map<String, Object?> toMap()

Generates a map representing the data in the item. The keys must correspond to the names of the columns in the database.

Implementation

Map<String, Object?> toMap();