addObserver method
Implementation
@override
Future<void> addObserver(TUICallObserver observer) async {
if (!kIsWeb && (Platform.isIOS || Platform.isAndroid)) {
if (_observerList.contains(observer)) {
return;
}
_observerList.add(observer);
methodChannel.invokeMethod("addObserver", {});
}
}