MethodChannelLune class
An implementation of LunePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- LunePlatform
- MethodChannelLune
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroySdk(
) → Future< void> -
Cleans up resources and destroys the SDK instance.
override
-
getCashflowWidget(
) → Future< Widget?> -
Returns a widget that displays the cash flow view.
inherited
-
initializeSdk(
String baseUrl, String accessToken) → Future< void> -
Initializes the SDK with the provided credentials.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optInForErrorLogger(
) → Future< void> -
Registers the platform to receive error logging events from the SDK.
override
-
optInForErrorNotifier(
) → Future< void> -
Registers the platform to receive error notifications from the SDK.
override
-
optInForEventListener(
) → Future< void> -
Registers the platform to receive event notifications from the SDK.
override
-
optInForSuccessNotifier(
) → Future< void> -
Registers the platform to receive success notifications from the SDK.
override
-
registerRefreshTokenCallback(
) → Future< void> -
Registers a callback for token refresh requests.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited