dispose method Null safety

  1. @override
void dispose()
override

Disposes controllers, streams, etc.

Implementation

@override
void dispose() {
  apiResource.dispose();
}