toMap method
Converts the PointStyle object to a map.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'size': size,
'color': color.value,
};
}
Converts the PointStyle object to a map.
Map<String, dynamic> toMap() {
return <String, dynamic>{
'size': size,
'color': color.value,
};
}