setEffect method
Applies effect to the local video track trackId, releasing whichever
track was effected before.
Returns once the platform has taken the command; status reaches XCameraEffectPhase.active when effected frames flow. XCameraEffect.none is clear.
Implementation
@override
Future<void> setEffect(String trackId, XCameraEffect effect) async {
_requireSupported();
calls.add((method: 'setEffect', trackId: trackId, effect: effect));
final error = setEffectError;
if (error != null) throw error;
}