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
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