toMap method

dynamic toMap()

Serializes CameraPosition.

Mainly for internal use when calling CameraUpdate.newCameraPosition.

Implementation

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