SelfTransfer constructor

SelfTransfer({
  1. String? fromAccountName,
  2. String? toAccountName,
})

Implementation

factory SelfTransfer({
  $core.String? fromAccountName,
  $core.String? toAccountName,
}) {
  final $result = create();
  if (fromAccountName != null) {
    $result.fromAccountName = fromAccountName;
  }
  if (toAccountName != null) {
    $result.toAccountName = toAccountName;
  }
  return $result;
}