getCallDirection static method

Future<String> getCallDirection()

Retrieves the call direction from the Mirrorfly platform.

This static method asynchronously fetches the call direction from the underlying Mirrorfly implementation. It returns a Future that resolves to a String representing the call direction.such as incoming or outgoing

Returns: A Future that resolves to a String representing the call direction. such as Incoming or Outgoing.

Implementation

static Future<String> getCallDirection() async {
  return FlyChatFlutterPlatform.instance.getCallDirection();
}