setNotificationTitle method
Set a custom Title to be displayed in the notification bar for the chathead.
Implementation
Future<String> setNotificationTitle(String title) async {
final int result = await (_platform.invokeMethod(
'setNotificationTitle', title) as FutureOr<int>);
return result > 0 ? "Notification Title set" : "There was an error.";
}