toMap method
Serializes CameraPosition.
Mainly for internal use when calling CameraUpdate.newCameraPosition.
Implementation
Object toMap() => <String, Object>{
'bearing': bearing,
'target': target.toJson(),
'tilt': tilt,
'zoom': zoom,
};