AuthDto constructor
- @JsonSerializable(includeIfNull: false)
Constructs an AuthDto instance.
Parameters:
ownerAddress
– The owner's address.signature
– The owner's signature of the hash.hash
– The hash of the data to be signed.
Implementation
@JsonSerializable(includeIfNull: false)
factory AuthDto({
required String ownerAddress,
String? smartWalletAddress,
required String signature,
required String hash,
}) = _AuthDto;