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
-
getter/setter pair
- clickedButton ↔ FlareLaneNotificationButton?
-
The button that was tapped, or
nullfor a body click / out-of-range index.getter/setter pair - clickedButtonIndex ↔ int?
-
Index of the action button that was tapped, or
nullfor a body click. Doubles as the "was it a button click?" check vianotification.clickedButtonIndex != null.getter/setter pair - clickedUrl ↔ String?
-
URL associated with the click:
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
- 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