FirebaseNotification class

Annotations
  • @JsonSerializable()

Constructors

FirebaseNotification({String? title, String? body, String? image})
const
FirebaseNotification.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
The notification's body text.
final
hashCode int
The hash code for this object.
no setterinherited
image String?
Contains the URL of an image that is going to be downloaded on the device and displayed in a notification. JPEG, PNG, BMP have full support across platforms. Animated GIF and video only work on iOS. WebP and HEIF have varying levels of support across platforms and platform versions. Android has 1MB image size limit. Quota usage and implications/costs for hosting image on Firebase Storage: https://firebase.google.com/pricing
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The notification's title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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