FlareLaneNotificationButton class

Constructors

FlareLaneNotificationButton({required String label, String? link})

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromJson(Map json) FlareLaneNotificationButton?
Parse a button entry from the bridge payload, returning null when the entry is malformed (missing/non-string/empty label). A factory constructor can't return null, so this is a regular static method — callers filter the nulls out instead of catching a runtime cast error. Native already drops empty-label entries before sending; this is a defensive net for unexpected wire shapes.