diff --git a/lib/src/exif/ifd_directory.dart b/lib/src/exif/ifd_directory.dart index 24c3a6c5..724c11fb 100644 --- a/lib/src/exif/ifd_directory.dart +++ b/lib/src/exif/ifd_directory.dart @@ -321,7 +321,7 @@ class IfdDirectory { data[0x8298] = IfdValueAscii(value); } } - + bool get hasGPSLatitudeRef => data.containsKey(0x0001); String? get gpsLatitudeRef => data[0x0001]?.toString(); set gpsLatitudeRef(String? value) { @@ -331,7 +331,7 @@ class IfdDirectory { data[0x0001] = IfdValueAscii(value); } } - + bool get hasGPSLatitude => data.containsKey(0x0002); double? get gpsLatitude => data[0x0002]?.toDouble(); set gpsLatitude(double? value) { @@ -341,7 +341,7 @@ class IfdDirectory { data[0x0002] = IfdValueDouble(value); } } - + bool get hasGPSLongitudeRef => data.containsKey(0x0003); String? get gpsLongitudeRef => data[0x0003]?.toString(); set gpsLongitudeRef(String? value) { @@ -351,7 +351,7 @@ class IfdDirectory { data[0x0003] = IfdValueAscii(value); } } - + bool get hasGPSLongitude => data.containsKey(0x0004); double? get gpsLongitude => data[0x0004]?.toDouble(); set gpsLongitude(double? value) { @@ -372,7 +372,6 @@ class IfdDirectory { gpsLongitudeRef = longitude < 0.0 ? 'W' : 'E'; } - bool get hasGPSDate => data.containsKey(0x001D); String? get gpsDate => data[0x001D]?.toString(); set gpsDate(String? value) { @@ -382,5 +381,4 @@ class IfdDirectory { data[0x001D] = IfdValueAscii(value); } } - }