getTitle method Null safety

Future<String?> getTitle()

Gets the title for the current page.

Supported Platforms/Implementations:

Implementation

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