toMap abstract method

Map<String, dynamic> toMap()

Must return a Map that represent the current state, that Persist lib will write on db

Must be override by model.

Implementation

Map<String, dynamic> toMap();