SetValueStep constructor

SetValueStep({
  1. required String testableId,
  2. Duration? timeout,
  3. String type = 'String',
  4. required String? value,
})

Implementation

SetValueStep({
  required this.testableId,
  this.timeout,
  String type = 'String',
  required this.value,
})  : assert(testableId.isNotEmpty == true),
      assert(type == 'bool' ||
          type == 'double' ||
          type == 'int' ||
          type == 'String'),
      type = type;