registerNativeMethods static method

_MutexCppFunc registerNativeMethods()

Implementation

static _MutexCppFunc registerNativeMethods() {
    if (_registered != null) return _registered!;
    _registered = _MutexCppFunc.instance();
    _registered!.registerDart(_MutexDartFunc.create());
    RecuriveMutexBridge.registerNativeMethods();
    return _registered!;
}