Skip to content

Interaction

Class representing an interaction with the app in the UI

Annotations

Constructors

Interaction.fromJson

Interaction.fromJson(
  1. Map<String, dynamic> json
)

Interaction

Interaction(
  1. DateTime time,
  2. String correctness,
  3. String type,
  4. String description,
)

Properties

correctness

String correctness
getter/setter pair

The correctness of the interaction as a String

description

String description
getter/setter pair

A explanatory description of the interaction (e.g. Test failed after tapping the button twice)

time

DateTime time
getter/setter pair

The time of the interaction

type

String type
getter/setter pair

The type of interaction (e.g. Button tap or Drawing gesture)

Methods

toJson

Map<String, dynamic> toJson()