TongueState class
State data for the tongue widget
Constructors
- TongueState({TongueType type = TongueType.none, int newMessageCount = 0, String? atMentionText, int? atMessageSeq, int unreadCount = 0, bool isLoading = false})
-
const
Properties
- atMentionText → String?
-
final
- atMessageSeq → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoading → bool
-
final
- newMessageCount → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TongueType
-
final
- unreadCount → int
-
final
Methods
-
copyWith(
{TongueType? type, int? newMessageCount, String? atMentionText, int? atMessageSeq, int? unreadCount, bool? isLoading}) → TongueState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited