ThirdPartySessionModel class

Model used to wrap 3rd party session objects

Implemented types

Constructors

ThirdPartySessionModel({int id = -1, String? mail = "", String? display = "", String? pic = "", String token = "", bool mailValidationDone = false})
const
ThirdPartySessionModel.empty()
factory
ThirdPartySessionModel.requiresMailValidation()
factory

Properties

display String?
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
mail String?
final
mailValidationDone bool
final
pic String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
final

Methods

copyWith({int? id, String? mail, String? display, String? pic, String? token, bool? mailValidationDone}) ThirdPartySessionModel
hasDisplay() bool
hasMail() bool
hasPic() bool
hasToken() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
validate() bool

Operators

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