VideoTriggerEvent class
Those events are sent when the user
- see the video
- skip the video
- answer the video
Constructors
-
VideoTriggerEvent({required DateTime time, required VideoTriggerEvents type, required String sessionId, Map<
String, dynamic> ? args}) - VideoTriggerEvent.fromJson(String source)
-
factory
-
VideoTriggerEvent.fromMap(Map<
String, dynamic> map) -
factory
- VideoTriggerEvent.singleChoice(String sessionId, String choiceCode)
-
factory
- VideoTriggerEvent.videoOpen(String sessionId)
-
factory
- VideoTriggerEvent.videoSkipped(String sessionId)
-
factory
- VideoTriggerEvent.videoViewed(String sessionId)
-
factory
Properties
-
args
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String
-
getter/setter pair
- time ↔ DateTime
-
getter/setter pair
- type ↔ VideoTriggerEvents
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseType(
String data) → VideoTriggerEvents