getCallId method Null safety

Future<String?> getCallId()

Gets the current call ID.

Returns

  • The current call ID, if the method call succeeds.
  • The empty string "", if the method call fails.

Implementation

@override
Future<String?> getCallId() {
  return _invokeMethod('getCallId');
}