Login class

Implemented types
Annotations
  • @freezed

Constructors

Login({required String usernameOrEmail, required String password})
const
factory
Login.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $LoginCopyWith<Login>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpMethod HttpMethod
final
password String
no setterinherited
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usernameOrEmail String
no setterinherited

Methods

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

Operators

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