SdlxHapticDirection constructor

SdlxHapticDirection({
  1. int type = 0,
  2. List<int>? dir,
})

Implementation

SdlxHapticDirection({this.type = 0, List<int>? dir}) {
  this.dir = dir ?? List<int>.generate(3, (index) => 0);
}