disposePreview method
This method is used to clear the resources observers.
Implementation
@override
Future<void> disposePreview() async {
bool? val = false;
try {
val = await mirrorFlyCallMethodChannel.invokeMethod('disposePreview');
LogMessage.d('disposePreview', ' $val');
return;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (e) {
LogMessage.d("Exception ", " $e");
rethrow;
}
}