LiveActivitiesConfig class
Configuration for the Live Activities (iOS) / Live Notifications (Android) module.
Constructors
-
LiveActivitiesConfig({List<
LiveActivityTemplate> types = const [], String? customType, LiveActivitiesBranding? branding})
Properties
- branding → LiveActivitiesBranding?
-
Branding for Live Notifications (Android only).
final
- customType → String?
-
Your own reverse-DNS identifier for the custom activity type, e.g.
'com.myapp.rideshare'. Setting it enables the custom template on both platforms.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ List<
LiveActivityTemplate> -
Built-in activity types to enable.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited