getDebugFlag method
@brief Gets the state of a debug flag. @param flag The debug flag to query @see DebugFlag "DebugFlag". @return true if the debug flag is enabled, false otherwise.
Implementation
bool getDebugFlag(DebugFlag flag) {
final _getDebugFlagFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Uint32),
int Function(int)
>('navigine_sdk_flutter_LocationWindow_getDebugFlag__Flag'));
final _flagHandle = navigine_sdk_flutter_DebugFlag_ToFfi(flag);
final __resultHandle = _getDebugFlagFfi(_flagHandle);
navigine_sdk_flutter_DebugFlag_ReleaseFfiHandle(_flagHandle);
final _result = navigine_sdk_flutter_bool_FromFfi(__resultHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(__resultHandle);
return _result;
}