toSqlite abstract method
Serializes the model instance to a Map suitable for insertion or update into an SQLite database.
This method should handle any necessary type conversions, such as:
DateTimeto ISO8601Stringor Unix timestampint.booltoint(0 or 1).- Enums to
Stringorint. - Custom objects to a storable format (e.g., JSON string).
Implementation
Map<String, dynamic> toSqlite();