FeedSDK class

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

getToken() Future<String?>
provides Firebase device token unique for every device from preferences
init({required String appName, required String projectId, required String firebaseCurrentApiKey, required String firebaseMobileSdkAppId, required String firebaseStorageBucket, String? firebaseUrl, required String firebaseProjectNumber, required dynamic notificationDataCallback(Map<String, String?>)?}) Future<void>
used to initialise the SDK and Firebase
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveToken(String? fcmToken) Future<bool?>
saves Firebase device token fcmToken unique for every device
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

appName String
getter/setter pair
feedDomain String
getter/setter pair
feedKey String
getter/setter pair
feedUser String
getter/setter pair
notificationIco String
getter/setter pair

Static Methods

getInstance({required dynamic feedifyUser, required dynamic feedifyKey, required dynamic feedifyDomain}) FeedSDK
used to initialise the SDK and Firebase
getUUID() Future<String>
retrieveNotificationPayloadsData() Future<ModelNotification>
Retrieve notification payloads data object
setNotificationIcon(String notificationIcon) → void
icon to be used on the notification, make sure notification icon is available for all screen sizes or else notification will fail to show!