CpiGuard.fromAccountBytes constructor

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

Implementation

factory CpiGuard.fromAccountBytes(List<int> accountBytes) {
  final decode = _Utils.decodeFromAccount(accountBytes);
  return CpiGuard(lockCpi: decode["lockCpi"]);
}