setTitle method Null safety

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

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

Implementation

Future<void> setTitle(String key, String title);