LivehiveSdkFlutterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • LivehiveSdkFlutterPlatform
Implementers

Constructors

LivehiveSdkFlutterPlatform()
Constructs a LivehiveSdkFlutterPlatform.

Properties

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

Methods

awardRewards({required String userId, required int points, required String source, required String awardKey}) → Future<Map<String, dynamic>>
close() → Future<void>
getRewards({required String userId}) → Future<Map<String, dynamic>>
initialize({required String key, required String userId, bool isDailyPoints = true}) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redeemRewards({required String userId, required int points}) → Future<Map<String, dynamic>>
refundRewards({required String userId, required String redemptionId}) → Future<Map<String, dynamic>>
start() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ LivehiveSdkFlutterPlatform
The default instance of LivehiveSdkFlutterPlatform to use.
getter/setter pair