blob: 2d8f750cb3fbb375fd52e12dcfc94ac19e5d0d16 [file] [log] [blame]
// Copyright (c) 2020, 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.
// ignore: import_internal_library
import 'dart:_internal';
@patch
class Class {
final bool defaultValue;
@patch
Class.generative({this.defaultValue: true});
@patch
const Class.constGenerative({this.defaultValue: true});
}
@patch
class Class2 {
final int injectedField;
Class2(this.field) : injectedField = field;
}