XmrAddressDecodeResult constructor

XmrAddressDecodeResult({
  1. required List<int> publicViewKey,
  2. required List<int> publicSpendKey,
  3. List<int>? paymentId,
  4. required int netVersion,
  5. required XmrAddressType type,
})

Implementation

XmrAddressDecodeResult(
    {required List<int> publicViewKey,
    required List<int> publicSpendKey,
    List<int>? paymentId,
    required this.netVersion,
    required this.type})
    : publicViewKey = publicViewKey.asImmutableBytes,
      publicSpendKey = publicSpendKey.asImmutableBytes,
      paymentId = paymentId?.asImmutableBytes;