toMap method

Object toMap()

Serializes CameraPosition.

Mainly for internal use when calling CameraUpdate.newCameraPosition.

Implementation

Object toMap() => <String, Object>{
      'bearing': bearing,
      'target': target.toJson(),
      'tilt': tilt,
      'zoom': zoom,
    };