PactCommandPayload constructor

PactCommandPayload({
  1. required String networkId,
  2. required CommandPayload payload,
  3. required List<SignerCapabilities> signers,
  4. required CommandMetadata meta,
  5. String? nonce,
})

Implementation

PactCommandPayload({
  required this.networkId,
  required this.payload,
  required this.signers,
  required this.meta,
  String? nonce,
}) : nonce = nonce ?? DateTime.now().toIso8601String();