AccountInfo constructor

AccountInfo({
  1. required String account,
  2. required bool isMint,
  3. required bool isOwner,
  4. required bool isTokenAccount,
  5. String? owner,
  6. String? program,
  7. List<TokenInfo>? tokens = const [],
})

Returns a new AccountInfo instance.

Implementation

AccountInfo({
  required this.account,
  required this.isMint,
  required this.isOwner,
  required this.isTokenAccount,
  this.owner,
  this.program,
  this.tokens = const [],
});