fromNative method

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

Implementation

@override
Set<SensorFeature> fromNative(List<int?> val) {
  return Set.unmodifiable(val
      .map<SensorFeature>((element) => SensorFeature.values[element ?? 0]));
}