PersistableNetworkPayload constructor

PersistableNetworkPayload({
  1. AccountAgeWitness? accountAgeWitness,
  2. SignedWitness? signedWitness,
  3. TradeStatistics3? tradeStatistics3,
})

Implementation

factory PersistableNetworkPayload({
  AccountAgeWitness? accountAgeWitness,
  SignedWitness? signedWitness,
  TradeStatistics3? tradeStatistics3,
}) {
  final $result = create();
  if (accountAgeWitness != null) {
    $result.accountAgeWitness = accountAgeWitness;
  }
  if (signedWitness != null) {
    $result.signedWitness = signedWitness;
  }
  if (tradeStatistics3 != null) {
    $result.tradeStatistics3 = tradeStatistics3;
  }
  return $result;
}