updateHeading method

void updateHeading(
  1. double heading
)

Updates the current heading angle, in degrees clockwise, relative to north.

Parameters:

  • heading — a float64 number.

Implementation

void updateHeading(double heading) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_LocationDataSource_updateHeading(
        _handle, heading, errorHandler);
  });
}