toMap property
Function to convert object T
to Map<String,dynamic>, receives instance of T
,
and should always return Map<String,dynamic>
Implementation
final Map<String, dynamic> Function(T)? toMap;
Function to convert object T
to Map<String,dynamic>, receives instance of T
,
and should always return Map<String,dynamic>
final Map<String, dynamic> Function(T)? toMap;