AuthDto constructor

  1. @JsonSerializable(includeIfNull: false)
AuthDto({
  1. required String ownerAddress,
  2. String? smartWalletAddress,
  3. required String signature,
  4. required String hash,
})

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;