toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"attributedTitle": attributedTitle?.toMap(),
"backgroundColor": backgroundColor?.toHex(),
"color": color?.toHex(),
"distanceToTriggerSync": distanceToTriggerSync,
"enabled": enabled,
"size": size?.toNativeValue(),
"slingshotDistance": slingshotDistance,
};
}