4e8a4a3b44
Change-Id: I059d96ef2db91ea43cc1a6d2fffd0d6e7718659b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426288 Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com>
18 lines
391 B
Dart
18 lines
391 B
Dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
class A {
|
|
final String foo;
|
|
final List<String> list;
|
|
|
|
const A([
|
|
this.foo = 'foo',
|
|
this.list = const [
|
|
'l',
|
|
...['i', 's'],
|
|
't',
|
|
],
|
|
]);
|
|
}
|