mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
9 lines
190 B
Dart
9 lines
190 B
Dart
|
/// An immutable pair or 2-tuple
|
||
|
/// TODO replace with Record once Dart 2.19 is available
|
||
|
class Pair<T1, T2> {
|
||
|
final T1 first;
|
||
|
final T2 second;
|
||
|
|
||
|
const Pair(this.first, this.second);
|
||
|
}
|