ScreenView class

ScreenView event\

Implemented types
Annotations

Constructors

ScreenView({required String name, String? type, String? transitionType, String? previousName, String? previousType, Set<SelfDescribingJson> contexts = const {}})
Creates a ScreenView event

Properties

contexts Set<SelfDescribingJson>
contexts Attached custom contexts
final
hashCode int
The hash code for this object.
no setteroverride
name String
name The name of the screen.
final
previousName String?
previousName The name of the previous screen.
final
previousType String?
previousType The type of the previous screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transitionType String?
transitionType The type of the screen transition.
final
type String?
type The type for the screen.
final

Methods

attach({required Set<SelfDescribingJson> contexts}) ScreenView
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