dispose method Null safety

T dispose()

Implementation

T dispose();