ton property

TonClient get ton

Implementation

TonClient get ton {
  final ext = getExtension<TonClientImpl>();
  if (ext == null) {
    throw DynamicStateException(
      "Ton is not installed — call useTon(...) when configuring the client",
    );
  }
  return ext;
}