SjChatDto class

Данные чата получаемые с api urls.apiChatsGet.

Annotations
  • @immutable

Constructors

SjChatDto({required int id, required int owner, required String? name, required String? description, required List<int>? pinned, required String? avatar, required Map<String, dynamic>? payload, required DateTime created, required DateTime updated, required bool isHidden, required DateTime? blocked, required String? blockReason})
Данные чата получаемые с api urls.apiChatsGet.
const
SjChatDto.fromJson(Map map)

Properties

avatar String?
Ссылка на аватар чата.
final
blocked DateTime?
Дата когда данные были заблокированы.
finalinherited
blockReason String?
Причина блокировки.
finalinherited
created DateTime
Дата создания данныех.
finalinherited
description String?
Текст описания чата.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Уникальный айди сообщения.
final
isBlocked bool
Заблокированы ли данные.
no setterinherited
isHidden bool
Скрыты ли данные.
finalinherited
name String?
Произвольное название чата.
final
owner int
Уникальный айди пользователя создавший чат.
final
payload Map<String, dynamic>?
Произвольные JSON данные пользователей связанные с чатом.
final
pinned List<int>?
Список закрепленных сообщений.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated DateTime
Дата последнего обновления данных.
finalinherited

Methods

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

Operators

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