dispose method
Releases resources.
Implementation
@mustCallSuper
void dispose() {
if (kFlutterMemoryAllocationsEnabled) {
FlutterMemoryAllocations.instance.dispatchObjectDisposed(object: this);
}
for (final flight in _flights.values) {
flight.dispose();
}
}