SaveUserSettings class

Implemented types
Annotations
  • @freezed

Constructors

SaveUserSettings({bool? showNsfw, String? theme, @JsonKey(fromJson: sortTypeFromIndex, toJson: sortTypeToIndex) SortType? defaultSortType, @JsonKey(fromJson: postListingTypeFromIndex, toJson: postListingTypeToIndex) PostListingType? defaultListingType, String? lang, String? avatar, String? banner, String? displayName, String? email, String? bio, String? matrixUserId, bool? showAvatars, bool? showScores, bool? sendNotificationsToEmail, bool? showReadPosts, bool? botAccount, bool? showBotAccounts, bool? showNewPostNotifs, required String auth})
const
factory
SaveUserSettings.fromJson(Map<String, dynamic> json)
factory

Properties

auth String
no setterinherited
avatar String?
no setterinherited
no setterinherited
bio String?
no setterinherited
botAccount bool?
no setterinherited
copyWith → $SaveUserSettingsCopyWith<SaveUserSettings>
no setterinherited
defaultListingType PostListingType?
no setterinherited
defaultSortType SortType?
no setterinherited
displayName String?
no setterinherited
email String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpMethod HttpMethod
final
lang String?
no setterinherited
matrixUserId String?
no setterinherited
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendNotificationsToEmail bool?
no setterinherited
showAvatars bool?
no setterinherited
showBotAccounts bool?
no setterinherited
showNewPostNotifs bool?
no setterinherited
showNsfw bool?
no setterinherited
showReadPosts bool?
no setterinherited
showScores bool?
no setterinherited
theme String?
no setterinherited

Methods

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

Operators

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