ExternalLibrary.open constructor

ExternalLibrary.open(
  1. String path,
  2. {String debugInfo = ''}
)

The code is used only internally and is not a public API. The comment exists mainly to satisfy the linter.

Implementation

factory ExternalLibrary.open(String path, {String debugInfo = ''}) =>
    ExternalLibrary(
      ffiDynamicLibrary: ffi.DynamicLibrary.open(path),
      debugInfo: 'by open($path)$debugInfo',
    );