Skip to content

Commit

Permalink
clean formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-duncan committed Nov 23, 2024
1 parent 2a6da17 commit c96f93f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/src/exif/ifd_directory.dart
Original file line number Diff line number Diff line change
@@ -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);
}
}

}

0 comments on commit c96f93f

Please sign in to comment.