m3_lightmeter/lib/models/iso_value.dart
2022-10-30 21:06:51 +03:00

48 lines
1.3 KiB
Dart

part of 'photography_value.dart';
class IsoValue extends PhotographyValue<int> {
const IsoValue(super.rawValue, super.stopType);
@override
int get value => rawValue;
@override
String toString() => value.toString();
}
const List<IsoValue> isoValues = [
IsoValue(3, StopType.full),
IsoValue(4, StopType.third),
IsoValue(5, StopType.third),
IsoValue(6, StopType.full),
IsoValue(8, StopType.third),
IsoValue(10, StopType.third),
IsoValue(12, StopType.full),
IsoValue(16, StopType.third),
IsoValue(20, StopType.third),
IsoValue(25, StopType.full),
IsoValue(32, StopType.third),
IsoValue(40, StopType.third),
IsoValue(50, StopType.full),
IsoValue(64, StopType.third),
IsoValue(80, StopType.third),
IsoValue(100, StopType.full),
IsoValue(125, StopType.third),
IsoValue(160, StopType.third),
IsoValue(200, StopType.full),
IsoValue(250, StopType.third),
IsoValue(320, StopType.third),
IsoValue(400, StopType.full),
IsoValue(500, StopType.third),
IsoValue(640, StopType.third),
IsoValue(800, StopType.full),
IsoValue(1000, StopType.third),
IsoValue(1250, StopType.third),
IsoValue(1600, StopType.full),
IsoValue(2000, StopType.third),
IsoValue(2500, StopType.third),
IsoValue(3200, StopType.full),
IsoValue(4000, StopType.third),
IsoValue(5000, StopType.third),
IsoValue(6400, StopType.full),
];