call method

  1. @override
Future<void> call(
  1. String userId,
  2. dynamic callMediaType
)
override

Implementation

@override
Future<void> call(String userId, TUICallMediaType callMediaType) async {
  await methodChannel.invokeMethod(
      'call', {'userId': userId, 'callMediaType': callMediaType.index});
}