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