Action constructor

Action({
  1. Int64? txId,
  2. String? name,
  3. List<int>? contextId,
  4. List<int>? fromAccount,
  5. Target? target,
  6. List<int>? payload,
})

Implementation

factory Action({
  $fixnum.Int64? txId,
  $core.String? name,
  $core.List<$core.int>? contextId,
  $core.List<$core.int>? fromAccount,
  Target? target,
  $core.List<$core.int>? payload,
}) {
  final $result = create();
  if (txId != null) {
    $result.txId = txId;
  }
  if (name != null) {
    $result.name = name;
  }
  if (contextId != null) {
    $result.contextId = contextId;
  }
  if (fromAccount != null) {
    $result.fromAccount = fromAccount;
  }
  if (target != null) {
    $result.target = target;
  }
  if (payload != null) {
    $result.payload = payload;
  }
  return $result;
}