withExpiration method

SubtreePolicies withExpiration(
  1. int maxExpiryBlocks
)

Implementation

SubtreePolicies withExpiration(int maxExpiryBlocks) {
  final policies = DartApi.native.coeusSubtreePolicies
      .withExpiration(_ffi, maxExpiryBlocks)
      .extract((res) => res.asPointer<Void>());
  return SubtreePolicies(policies, true);
}