toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converting an object into a format for transferring to native.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'initialZoom': zoom,
    ...super.toJson(),
  };
}