FirebaseController class

Implemented types
Annotations
  • @Injectable(as: IFirebaseController)

Constructors

FirebaseController(IFirebaseRepository repository)

Properties

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

Methods

getFcmToken() Future<String?>
override
getFirebaseRemoteConfig() Future<FirebaseRemoteConfigModel>
override
getInitialNotification() Future<FirebaseNotification?>
retrive notification after app open from closed state
override
initializeLocalNotification({bool alert = true, bool announcement = false, bool badge = true, bool carPlay = false, bool criticalAlert = false, bool provisional = false, bool sound = true, void onSelected(String? p1)?, String androidNotificationIcon = '@mipmap/launcher_icon'}) Future<FlutterLocalNotificationsPlugin>
override
listenNotifications() Stream<RemoteMessage>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFcmTokenRefresh() Stream<String>
override
showNotification(FirebaseNotification notification, void onNotificationClicked(dynamic payload), {FlutterLocalNotificationsPlugin? flutterLocalNotificationsPlugin}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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