PageViewEvent class
PageViewEvent event.
- Implemented types
- Annotations
Constructors
-
PageViewEvent({required String pageUrl, String? pageTitle, String? referrer, Set<
SelfDescribingJson> contexts = const {}}) - Create a PageViewEvent event.
Properties
-
contexts
→ Set<
SelfDescribingJson> -
contexts Attached custom contexts
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- pageTitle → String?
-
pageTitle The title of the page.
final
- pageUrl → String
-
pageUrl The URL of the page.
final
- referrer → String?
-
referrer The page view referrer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
{required Set< SelfDescribingJson> contexts}) → PageViewEvent -
attach Attaches additional contexts to the event
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Converts the event object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override