SIWECreateMessageArgs constructor

const SIWECreateMessageArgs({
  1. required String chainId,
  2. required String domain,
  3. required String nonce,
  4. required String uri,
  5. required String address,
  6. @Default('1') String version,
  7. @Default(CacaoHeader(t: 'eip4361')) CacaoHeader? type,
  8. String? nbf,
  9. String? exp,
  10. String? statement,
  11. String? requestId,
  12. List<String>? resources,
  13. int? expiry,
  14. String? iat,
})

Implementation

const factory SIWECreateMessageArgs({
  required String chainId,
  required String domain,
  required String nonce,
  required String uri,
  required String address,
  @Default('1') String version,
  @Default(CacaoHeader(t: 'eip4361')) CacaoHeader? type,
  String? nbf,
  String? exp,
  String? statement,
  String? requestId,
  List<String>? resources,
  int? expiry,
  String? iat,
}) = _SIWECreateMessageArgs;