ChatMessageCounts class

Contains approximate numbers of messages in a chat

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ChatMessageCounts({required List<int> counts})
const

Properties

counts → List<int>
counts Approximate number of messages for each of the requested filters in the same order; -1 for the numbers of messages, which are unknown locally, if only local data was requested
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<int>? counts}) → ChatMessageCounts

Available on ChatMessageCounts, provided by the ChatMessageCountsExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → ChatMessageCounts?

Constants

constructor → const String