setTitle method Null safety

  1. @override
Future<void> setTitle(
  1. String key,
  2. String title
)
override

Set the title on a window identified by the given key.

Implementation

@override
Future<void> setTitle(String key, String title) {
  return _methodChannel.invokeMethod<void>('setTitle', {
    'key': key,
    'title': title,
  });
}