LoginData class

LoginData model is to store/transfer login mode data.

Annotations

Constructors

LoginData({required String email, required String password})
Contains email and password fields. Overrides toString, hashCode methods and == operator.
const

Properties

email String
Email of the user
final
hashCode int
This hashCode part is inspired from Quiver package. Quiver package link: https://pub.dev/packages/quiver
no setteroverride
password String
Password of the user
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Overrides the toString method.
override

Operators

operator ==(Object other) bool
Overrides the equality operator.
override