AddressEntry constructor

AddressEntry({
  1. String? offerId,
  2. AddressEntry_Context? context,
  3. List<int>? pubKey,
  4. List<int>? pubKeyHash,
  5. Int64? coinLockedInMultiSig,
  6. bool? segwit,
})

Implementation

factory AddressEntry({
  $core.String? offerId,
  AddressEntry_Context? context,
  $core.List<$core.int>? pubKey,
  $core.List<$core.int>? pubKeyHash,
  $fixnum.Int64? coinLockedInMultiSig,
  $core.bool? segwit,
}) {
  final $result = create();
  if (offerId != null) {
    $result.offerId = offerId;
  }
  if (context != null) {
    $result.context = context;
  }
  if (pubKey != null) {
    $result.pubKey = pubKey;
  }
  if (pubKeyHash != null) {
    $result.pubKeyHash = pubKeyHash;
  }
  if (coinLockedInMultiSig != null) {
    $result.coinLockedInMultiSig = coinLockedInMultiSig;
  }
  if (segwit != null) {
    $result.segwit = segwit;
  }
  return $result;
}