SjUserDto class

Данные пользователя получаемые с api urls.apiUserGet и urls.apiUsersGet.

Annotations
  • @immutable

Constructors

SjUserDto({required int id, required String login, required String? email, required String? username, required String? avatar, required DateTime created, required DateTime updated, required bool isHidden, required DateTime? blocked, required String? blockReason})
Данные пользователя получаемые с api urls.apiUserGet и urls.apiUsersGet.
const
SjUserDto.fromJson(Map map)

Properties

avatar String?
Аватар пользователя.
final
blocked DateTime?
Дата когда данные были заблокированы.
finalinherited
blockReason String?
Причина блокировки.
finalinherited
created DateTime
Дата создания данныех.
finalinherited
email String?
Почта аккаунта.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Уникальный айди аккаунта.
final
isBlocked bool
Заблокированы ли данные.
no setterinherited
isHidden bool
Скрыты ли данные.
finalinherited
login String
Логин аккаунта.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated DateTime
Дата последнего обновления данных.
finalinherited
username String?
Имя пользователя.
final

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