toMap method
Converts the parameters into a map representation.
Returns a Map object where the keys are the parameter names and the values are their corresponding string representations.
Implementation
@override
Map<String, String> toMap() {
return {
...super.toMap(),
"center": center!.stringValue,
};
}