openSqlite method

DynamicLibrary openSqlite()

Opens the DynamicLibrary from which moor_ffi is going to DynamicLibrary.lookup sqlite's methods that will be used. This method is meant to be called by moor_ffi only.

Implementation

DynamicLibrary openSqlite() {
  final forAll = _overriddenForAll;
  if (forAll != null) {
    return forAll();
  }

  final forPlatform = _overriddenPlatforms[os];
  if (forPlatform != null) {
    return forPlatform();
  }

  return _defaultOpen();
}