Action constructor

Action({
  1. Action_RegisterFioAddress? registerFioAddressMessage,
  2. Action_AddPubAddress? addPubAddressMessage,
  3. Action_Transfer? transferMessage,
  4. Action_RenewFioAddress? renewFioAddressMessage,
  5. Action_NewFundsRequest? newFundsRequestMessage,
})

Implementation

factory Action({
  Action_RegisterFioAddress? registerFioAddressMessage,
  Action_AddPubAddress? addPubAddressMessage,
  Action_Transfer? transferMessage,
  Action_RenewFioAddress? renewFioAddressMessage,
  Action_NewFundsRequest? newFundsRequestMessage,
}) {
  final _result = create();
  if (registerFioAddressMessage != null) {
    _result.registerFioAddressMessage = registerFioAddressMessage;
  }
  if (addPubAddressMessage != null) {
    _result.addPubAddressMessage = addPubAddressMessage;
  }
  if (transferMessage != null) {
    _result.transferMessage = transferMessage;
  }
  if (renewFioAddressMessage != null) {
    _result.renewFioAddressMessage = renewFioAddressMessage;
  }
  if (newFundsRequestMessage != null) {
    _result.newFundsRequestMessage = newFundsRequestMessage;
  }
  return _result;
}