dispose method

dynamic dispose()

Implementation

dispose() {
  if (sampleRenderTarget != null) {
    sampleRenderTarget!.dispose();
    sampleRenderTarget = null;
  }
}