toNative method

  1. @override
List<int> toNative(
  1. Set<SensorFeature> val
)
override

Implementation

@override
List<int> toNative(Set<SensorFeature> val) {
  return List<int>.generate(
      val.length, (index) => val.elementAt(index).index);
}