toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'colors':
this.colors?.map((color) => color.value.toRadixString(16))?.toList(),
'startPoints': this.startPoints?.map((p) => p)?.toList()
};
}