pair.dart 371 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// A pair of values. Used for testing custom codecs.
class Pair {
7 8
  Pair(this.left, this.right);

9 10 11 12 13 14
  final dynamic left;
  final dynamic right;

  @override
  String toString() => 'Pair[$left, $right]';
}