9 lines
248 B
Dart
9 lines
248 B
Dart
/// A generic two-slot carrier, used where a call needs to hand back two values
|
|
/// without earning a named model (e.g. a resolved command plus its headers).
|
|
class Pair<K, V> {
|
|
final K key;
|
|
final V value;
|
|
|
|
const Pair(this.key, this.value);
|
|
}
|