cameraTargetBoundsToJson function

List<List<List<double>>>? cameraTargetBoundsToJson(
  1. CameraTargetBounds cameraTargetBounds
)

Implementation

List<List<List<double>>>? cameraTargetBoundsToJson(
  CameraTargetBounds cameraTargetBounds,
) {
  if (cameraTargetBounds.bounds == null) {
    return null;
  }
  return <List<List<double>>>[latLngBoundsToJson(cameraTargetBounds.bounds!)];
}