AuthDto class

Represents an authentication object containing the owner's address, signature, and hash.

Use AuthDto.fromJson to create an instance from a JSON object.

Annotations
  • @freezed

Constructors

AuthDto({required String ownerAddress, String? smartWalletAddress, required String signature, required String hash})
Constructs an AuthDto instance.
factory
AuthDto.fromJson(Map<String, dynamic> json)
Creates an AuthDto instance from a JSON object.
factory

Properties

copyWith → $AuthDtoCopyWith<AuthDto>
no setterinherited
hash String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ownerAddress String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
no setterinherited
smartWalletAddress String?
no setterinherited

Methods

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

Operators

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