getLibraryInfo static method

Map<String, dynamic> getLibraryInfo({
  1. String? libraryPath,
})

Get library information for debugging

Implementation

static Map<String, dynamic> getLibraryInfo({String? libraryPath}) {
  return {
    'platform': Platform.operatingSystem,
    'expected_filename': getLibraryFileName(),
    'search_paths': getDefaultLibraryPaths(),
    'provided_path': libraryPath,
    'env_path': Platform.environment['ORACLE_CLIENT_LIB_PATH'],
    'library_exists': verifyLibrary(libraryPath: libraryPath),
  };
}