Envelope constructor

Envelope({
  1. required PublicKey publicKey,
  2. required Uint8List payloadType,
  3. required Uint8List rawPayload,
  4. required Uint8List signature,
})

Implementation

Envelope({
  required this.publicKey,
  required this.payloadType,
  required Uint8List rawPayload,
  required Uint8List signature,
})  : _signature = signature,
      rawPayload = Uint8List.fromList(rawPayload);