getTitle method

  1. @override
Future<String?> getTitle()

Gets the title for the current page.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@override
Future<String?> getTitle() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await channel?.invokeMethod<String?>('getTitle', args);
}