toMap abstract method

Map<String, dynamic> toMap()

Converts this model's fields to a database-compatible map.

Should NOT include id, created_at, or updated_at — those are managed automatically.

Implementation

Map<String, dynamic> toMap();