getMeetUsername method

  1. @override
Future<String> getMeetUsername(
  1. String jid
)
override

This method is used to get the Meet username.

Implementation

@override
Future<String> getMeetUsername(String jid) async {
  String? val = FlyConstants.empty;
  try {
    val = await mirrorFlyCallMethodChannel
        .invokeMethod<String>('getMeetUsername', {'userJid': jid});
    LogMessage.d('getMeetUsername', ' $val');
    return val ?? FlyConstants.empty;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    return FlyConstants.empty;
  } on Exception catch (e) {
    LogMessage.d("Exception ", " $e");
    return FlyConstants.empty;
  }
}