CreateTokenAccount constructor
CreateTokenAccount(
{ - String? mainAddress,
- String? tokenMintAddress,
- 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;
}