getFrame method
Returns the ExportFrameContext with the given frameId.
Throws an Exception if no ExportFrameContext is found.
Implementation
ExportFrameContext getFrame(String frameId) {
final ExportFrameContext? frame = _registeredFrames[frameId];
if (frame == null) {
throw Exception('No frame with id $frameId found');
}
return frame;
}