enable static method
dynamic
enable()
To begin interacting with WebLN APIs you'll first need to enable the provider as:
await FlutterWebln.enable()
It will prompt the user for permission to use the WebLN capabilities of the browser. After that you are free to call any of the other FlutterWebln methods.
Implementation
static enable() => WeblnApi.enable();