close method

  1. @override
void close()
override

Releases all PhoenixTransactionSender resources.

Implementation

@override
void close() {
  if (_completer?.isCompleted == false) {
    _completer!.complete(null);
  }
  _reset();
}