toMap method
Implementation
@override
Map<String, Object?> toMap() {
return {
if (hints != null) 'hints': hints!.map((e) => e.toMap()).toList(),
if (costPriority != null) 'costPriority': costPriority,
if (speedPriority != null) 'speedPriority': speedPriority,
if (intelligencePriority != null)
'intelligencePriority': intelligencePriority,
};
}