toMap method Null safety
- @override
override
Implementation
@override
Map<String, Object?> toMap() {
return {
'id': this.id,
'center': this.center.toMap(),
'option': this.option.toMap(),
'zIndex': this.zIndex,
'visible': this.visible
};
}