MethodChannelFinanceSdk class
An implementation of FinanceSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FinanceSdkPlatform
- MethodChannelFinanceSdk
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
-
clearBaseUrlOverride(
) → void -
Clear base URL override
override
-
clearBearerToken(
) → void -
Clear bearer token
override
-
getAvailableApiKeys(
) → Future< Map< String, String> > -
Get all available API keys
override
-
getAvailableServices(
) → Future< Map< String, String> > -
Get all available services
override
-
getBaseUrlSource(
) → String -
Get current base URL source
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initialize(
) → Future< void> -
Initialize the Firebase-based API handling system
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshData(
) → Future< void> -
Refresh data from Firebase
override
-
sendRequest(
{required String apiKey, required Map< String, dynamic> requestBody}) → Future<ApiResponse> -
Send API request using Firebase configuration
override
-
setBaseUrlOverride(
String? url) → void -
Set base URL override (for testing purposes)
override
-
setBearerToken(
String? token) → void -
Set bearer token for Authorization header
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited