MessageService class

Constructors

MessageService()

Properties

hashCode int
The hash code for this object.
no setterinherited
notificationHelper NotificationHelper
final
onForeground bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timer Timer?
getter/setter pair
username String
getter/setter pair

Methods

checkForMessages(String username) Future<void>
constructUrl(String username) String
getBaseUrl() String
getUsername() Future<String?>
initialize() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDestroy() → void
onStart() → void
onTaskRemoved() → void
readMessages(String username, String msgId) Future<void>
saveUsername(String username) Future<void>
setForegroundMode(bool value) → void
toString() String
A string representation of this object.
inherited

Operators

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

Constants

channelId → const String
extraUsername → const String