addUserInteraction static method
Adds a new user interaction to session timeline.
If TestFairyGestureDetector is used, there is no need to call this method explicitly.
Accepted info keys are "accessibilityLabel", "accessibilityIdentifier", "accessibilityHint" and "className"
Implementation
static Future<void> addUserInteraction(
UserInteractionKind kind, String label, Map<String, String> info) async {
TestFairyBase.prepareTwoWayInvoke();
final Map<String, dynamic> args = <String, dynamic>{
'kind': kind.toString(),
'label': label,
'info': info
};
// print(args);
await TestFairyBase.channel.invokeMethod<void>('addUserInteraction', args);
}