StorageStatisticsByChat class

Inheritance

Constructors

StorageStatisticsByChat({required int chatId, required int size, required int count, required List<StorageStatisticsByFileType> byFileType})
Contains the storage usage statistics for a specific chat
const
StorageStatisticsByChat.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

byFileType List<StorageStatisticsByFileType>
byFileType Statistics split by file types
final
chatId int
chatId Chat identifier; 0 if none
final
clientId int?
client identifier
no setterinherited
count int
count Total number of files in the chat
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
size Total size of the files in the chat, in bytes
final

Methods

copyWith({int? chatId, int? size, int? count, List<StorageStatisticsByFileType>? byFileType}) StorageStatisticsByChat
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String