stopImpl method

  1. @override
FutureOr<bool> stopImpl()
override

The stop implementation.

Implementation

@override
FutureOr<bool> stopImpl() {
  var sqlAdapter = this.sqlAdapter;
  if (sqlAdapter == null) return true;

  this.sqlAdapter = null;

  return sqlAdapter.close().resolveWithValue(true);
}