toJson method

  1. @override
Object toJson()
override

Converts this object to something serializable in JSON.

Implementation

@override
Object toJson() => <Object>['newCameraPosition', cameraPosition.toMap()];