HyperSDK class
Core class to expose all HyperSDK api's to flutter.
Proper integration constructs to be followed.
Constructors
- HyperSDK()
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
-
initiate(
Map< String, dynamic> params, void initiateHandler(MethodCall)) → Future<String> - Initiates and setup's the SDK.
-
isInitialised(
) → Future< bool> - Check if SDK is initiated. If SDK is not initiated first call initiate to setup SDK. {@category Required}
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBackPress(
) → Future< String> - Required for Android backpress handling. {@category Required}
-
process(
Map< String, dynamic> params, void processHandler(MethodCall)) → Future<String> - To be called for triggering any actions on SDK.
-
terminate(
) → Future< String> - Kills the SDK and cleans up any extra resources. {@category Optional}
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited