DefaultAccountState.fromAccountBytes constructor

DefaultAccountState.fromAccountBytes(
  1. List<int> accountBytes
)

Implementation

factory DefaultAccountState.fromAccountBytes(List<int> accountBytes) {
  final decode = _Utils.decodeFromAccount(accountBytes);
  return DefaultAccountState(
      accountState: AccountState.fromValue(decode["state"]));
}