UserWithMe class
Account data with extra information.
- Annotations
-
- @freezed
Constructors
-
UserWithMe({@JsonKey(name: 'inviter') String? inviter, @JsonKey(name: 'teams') required List<
Team> teams, @JsonKey(name: 'devices') required List<PushDevice> devices, @JsonKey(name: 'phone') String? phone, @JsonKey(name: 'email') String? email, @JsonKey(name: 'family_name') String? familyName, @JsonKey(name: 'given_name') String? givenName, @JsonKey(name: 'patronymic') String? patronymic, @JsonKey(name: 'default_lang') String? defaultLang, @JsonKey(name: 'alt_send') required bool altSend, @JsonKey(name: 'asterisk_mention') required bool asteriskMention, @JsonKey(name: 'always_send_pushes') required bool alwaysSendPushes, @JsonKey(name: 'hide_pushes_content') required bool hidePushesContent, @JsonKey(name: 'unread_first') required bool unreadFirst, @JsonKey(name: 'munread_first') required bool mUnreadFirst, @JsonKey(name: 'timezone') required String timezone, @JsonKey(name: 'quiet_time_start') String? quietTimeStart, @JsonKey(name: 'quiet_time_finish') String? quietTimeFinish, @JsonKey(name: 'icons') required IconData icons}) -
constfactory
-
UserWithMe.fromJson(Map<
String, dynamic> json) -
factory
Properties
- altSend → bool
-
Use Ctrl/Cmd + Enter instead Enter.
no setterinherited
- alwaysSendPushes → bool
-
Send pushes even user is online.
no setterinherited
- asteriskMention → bool
-
Use * as @ for mentions.
no setterinherited
-
copyWith
→ $UserWithMeCopyWith<
UserWithMe> -
no setterinherited
- defaultLang → String?
-
Default language code.
no setterinherited
-
devices
→ List<
PushDevice> -
Registered push devices.
no setterinherited
- email → String?
-
Email for login.
no setterinherited
- familyName → String?
-
Family name.
no setterinherited
- givenName → String?
-
Given name.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hidePushesContent → bool
-
Hide pushes body.
no setterinherited
- icons → IconData
-
Icon data.
no setterinherited
- inviter → String?
-
Inviter id, if any.
no setterinherited
- mUnreadFirst → bool
-
Show unread chats in chat list first on mobiles.
no setterinherited
- patronymic → String?
-
Patronymic, if any.
no setterinherited
- phone → String?
-
Phone for login.
no setterinherited
- quietTimeFinish → String?
-
Finish silently time (no pushes, no sounds).
no setterinherited
- quietTimeStart → String?
-
Start silently time (no pushes, no sounds).
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
teams
→ List<
Team> -
Available teams.
no setterinherited
- timezone → String
-
Timezone.
no setterinherited
- unreadFirst → bool
-
Show unread chats in chat list first.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited