finish method
Ends recording. The encoder may not be used afterwards.
Implementation
@override
RenderBundle finish({String? label}) {
final bundle = bundleDescriptor;
if (bundle == null) {
throw StateError('finish ends a render bundle; a pass is submitted');
}
return wrapRenderBundle(backend: this, descriptor: bundle, label: label);
}