Line data Source code
1 : // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 2 : // for details. All rights reserved. Use of this source code is governed by a 3 : // BSD-style license that can be found in the LICENSE file. 4 : 5 : import 'package:meta/meta_meta.dart'; 6 : 7 : /// An annotation for platform-specific customizations for a test suite. 8 : /// 9 : /// See [the README][onPlatform]. 10 : /// 11 : /// [onPlatform]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-specific-configuration 12 : @Target({TargetKind.library}) 13 : class OnPlatform { 14 : final Map<String, dynamic> annotationsByPlatform; 15 : 16 0 : const OnPlatform(this.annotationsByPlatform); 17 : }