LoginData class

Constructors

LoginData({required String name, String? secret})

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
The username/phone/email of the user, required field for login (depends on the login method) For example, if the login method is email, then this field should be email If the login method is phone, then this field should be phone If the login method is username, then this field should be username
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String?
The password/otp of the user, optional field for login (depends on the login method) For example, if the login method is email, then this field should be password If the login method is phone/email with otp, then this field should be otp If the login method is username, then this field should be password If the login method is social, then this field should be null
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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