title property

String get title
override

notification's title.

Example:

// Get notification title
String title = notification.title;
print("Notification title: $title");

Implementation

String get title {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        NativeString Function(Pointer<Void>),
        NativeString Function(Pointer<Void>)
      >('navigine_sdk_flutter_Notification_title_get'));

    final _titleHandle = _getFfi(this.ptr);
    final _result = toPlatformString(_titleHandle);
    exception.checkCallResult();
    return _result;
}