FinanceSdk class

The main Finance SDK class for Firebase-based dynamic API handling

Constructors

FinanceSdk()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearBaseUrlOverride() → void
Clear base URL override (use Remote Config value again)
clearBearerToken() → void
Clear bearer token (remove from future requests)
getAvailableApiKeys() → Future<Map<String, String>>
Get all available API keys
getAvailableServices() → Future<Map<String, String>>
Get all available services
getBaseUrlSource() → String
Get current base URL source
getPlatformVersion() → Future<String?>
Get platform version (legacy method)
initialize() → Future<void>
Initialize the Firebase-based API handling system
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshData() → Future<void>
Refresh data from Firebase
sendRequest({required String apiKey, required Map<String, dynamic> requestBody}) → Future<ApiResponse>
Send API request using Firebase configuration
setBaseUrlOverride(String? url) → void
Set base URL override (for testing purposes) This will override the Remote Config value
setBearerToken(String? token) → void
Set bearer token for Authorization header This token will be included in all API requests as "Authorization: Bearer token"
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited