Dispose method

Future<void> Dispose()
override
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Implementation

Future<void> Dispose() async {
  if (!this._isDisposed) {
    await this._xmlWriter!.Close();

    this._isDisposed = true;
  }
}