FlareLaneNotification class

Pure data class — every field is populated from the native bridge payload (no derived logic, no branching). Native (Android/iOS) is the single source of truth for "what was clicked / where to go"; this layer just reflects what it was handed. Keep it that way to avoid drift between platforms.

Constructors

FlareLaneNotification(Map<String, dynamic> json)

Properties

body String
getter/setter pair
buttons List<FlareLaneNotificationButton>?
getter/setter pair
clickedButton FlareLaneNotificationButton?
The button that was tapped, or null for a body click / out-of-range index.
getter/setter pair
clickedButtonIndex int?
Index of the action button that was tapped, or null for a body click. Doubles as the "was it a button click?" check via notification.clickedButtonIndex != null.
getter/setter pair
clickedUrl String?
URL associated with the click:
getter/setter pair
communication FlareLaneNotificationCommunication?
Chat-style sender info, present when the push was sent as a communication notification.
getter/setter pair
data Map?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
imageUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threadId String?
Notification grouping key (iOS thread-id / Android group). Present when the push was sent with threadId.
getter/setter pair
title String?
getter/setter pair
url String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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