PeamanChatMessagesListVM class
- Inheritance
-
- Object
- ChangeNotifier
- PeamanBaseVM
- PeamanChatMessagesListVM
Constructors
- PeamanChatMessagesListVM({required BuildContext context, required String chatId})
Properties
- appUser → PeamanUser
-
no setterinherited
- appUserReadOnly → PeamanUser
-
no setterinherited
- appVm → PeamanAppVM
-
no setterinherited
- appVmReadOnly → PeamanAppVM
-
no setterinherited
- chatId → String
-
final
-
chats
→ List<
PeamanChat> ? -
no setterinherited
- context → BuildContext
-
finalinherited
- dialogProvider → PeamanDialogProvider
-
no setterinherited
-
followers
→ List<
PeamanFollower> -
no setterinherited
-
following
→ List<
PeamanFollowing> -
no setterinherited
- globalContext → BuildContext
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isLoading → bool
-
no setterinherited
-
messagesStream
→ Stream<
List< PeamanMessage> > -
no setter
-
notifications
→ List<
PeamanNotification> ? -
no setterinherited
-
receivedFollowRequests
→ List<
PeamanReceivedFollowRequest> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sentFollowRequests
→ List<
PeamanSentFollowRequest> -
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
friendFuture(
{required String uid}) → Future< PeamanUser> -
logError(
{required String message, bool toast = false}) → void -
inherited
-
logLoading(
{required String message, bool toast = false}) → void -
inherited
-
logSuccess(
{required String message, bool toast = false}) → void -
inherited
-
inherited
-
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
onInit(
) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
showMessageLongPressBottomsheet(
PeamanMessage message) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateIsLoading(
bool newVal, {bool withUnfocus = true}) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited