CreateTokenAccount constructor

CreateTokenAccount({
  1. String? mainAddress,
  2. String? tokenMintAddress,
  3. String? tokenAddress,
})

Implementation

factory CreateTokenAccount({
  $core.String? mainAddress,
  $core.String? tokenMintAddress,
  $core.String? tokenAddress,
}) {
  final _result = create();
  if (mainAddress != null) {
    _result.mainAddress = mainAddress;
  }
  if (tokenMintAddress != null) {
    _result.tokenMintAddress = tokenMintAddress;
  }
  if (tokenAddress != null) {
    _result.tokenAddress = tokenAddress;
  }
  return _result;
}