FullUserResponse class
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable()
Constructors
-
FullUserResponse.new({int? avgResponseTime, DateTime? banExpires, required bool banned, required List<
String> blockedUserIds, required List<ChannelMute> channelMutes, required DateTime createdAt, required Map<String, Object?> custom, DateTime? deactivatedAt, DateTime? deletedAt, required List<DeviceResponse> devices, required String id, String? image, required bool invisible, required String language, DateTime? lastActive, List<String> ? latestHiddenChannels, required List<UserMuteResponse> mutes, String? name, required bool online, PrivacySettingsResponse? privacySettings, DateTime? revokeTokensIssuedBefore, required String role, required bool shadowBanned, required List<String> teams, Map<String, String> ? teamsRole, required int totalUnreadCount, required int unreadChannels, required int unreadCount, required int unreadThreads, required DateTime updatedAt}) -
const
Properties
- avgResponseTime → int?
-
final
- banExpires → DateTime?
-
final
- banned → bool
-
final
-
blockedUserIds
→ List<
String> -
final
-
channelMutes
→ List<
ChannelMute> -
final
-
copyWith
→ $FullUserResponseCopyWith<
FullUserResponse> -
Create a copy of FullUserResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
final
-
custom
→ Map<
String, Object?> -
final
- deactivatedAt → DateTime?
-
final
- deletedAt → DateTime?
-
final
-
devices
→ List<
DeviceResponse> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- image → String?
-
final
- invisible → bool
-
final
- language → String
-
final
- lastActive → DateTime?
-
final
-
latestHiddenChannels
→ List<
String> ? -
final
-
mutes
→ List<
UserMuteResponse> -
final
- name → String?
-
final
- online → bool
-
final
- privacySettings → PrivacySettingsResponse?
-
final
- revokeTokensIssuedBefore → DateTime?
-
final
- role → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowBanned → bool
-
final
-
teams
→ List<
String> -
final
-
teamsRole
→ Map<
String, String> ? -
final
- totalUnreadCount → int
-
final
- unreadChannels → int
-
final
- unreadCount → int
-
final
- unreadThreads → int
-
final
- updatedAt → DateTime
-
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
Static Methods
-
fromJson(
Map< String, dynamic> json) → FullUserResponse