ReplayAction constructor

const ReplayAction({
  1. required String type,
  2. int repeat = 1,
  3. int ms = 0,
  4. String value = '',
  5. String key = '',
  6. String direction = 'down',
  7. int x = 0,
  8. int y = 0,
  9. int x2 = 0,
  10. int y2 = 0,
  11. int steps = 8,
  12. String eventType = '',
  13. Map<String, Object?> eventFields = const <String, Object?>{},
})

Implementation

const ReplayAction({
  required this.type,
  this.repeat = 1,
  this.ms = 0,
  this.value = '',
  this.key = '',
  this.direction = 'down',
  this.x = 0,
  this.y = 0,
  this.x2 = 0,
  this.y2 = 0,
  this.steps = 8,
  this.eventType = '',
  this.eventFields = const <String, Object?>{},
});