dispose method Null safety

Future<void> dispose()

Implementation

Future<void> dispose() async {
  await _needsSubject.close();
}