Notification class Null safety

Basic notification template to use across all platforms.

Constructors

Notification({String? body, String? image, String? title})
Notification.fromJson(Map json_)

Properties

body String?
The notification's body text.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
image String?
Contains the URL of an image that is going to be downloaded on the device and displayed in a notification.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
title String?
The notification's title.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited