blob: 5384dc60ba2dc27ec1ab7cd42405d5189c6e9ad1 [file]
// 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;
}