toFlutter method
Implementation
List<DeviceOrientation> toFlutter() {
return map((e) => DeviceOrientation.values
.singleWhere((element) => element.name == e.name))
.whereType<DeviceOrientation>()
.toList();
}
List<DeviceOrientation> toFlutter() {
return map((e) => DeviceOrientation.values
.singleWhere((element) => element.name == e.name))
.whereType<DeviceOrientation>()
.toList();
}