9f79dfc37d
New analyzer errors are reported for dart:html around nullability. Non-nullable fields are translated to native getters and setters if part of a concrete class and normal getters and setters if abstract. Change-Id: I2fd87803a08872b2a7eae4de0af704f184997c7e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137481 Reviewed-by: Stephen Adams <sra@google.com>
25 lines
910 B
Plaintext
25 lines
910 B
Plaintext
// Copyright (c) 2016, 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.
|
|
|
|
// WARNING: Do not edit - generated code.
|
|
|
|
part of $LIBRARYNAME;
|
|
|
|
// TODO(alanknight): Provide a nicer constructor that uses named parameters
|
|
// rather than an initialization map.
|
|
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
|
|
|
|
// TODO(alanknight): This really should be generated by the
|
|
// _OutputConversion in the systemnative.py script, but that doesn't
|
|
// use those conversions right now, so do this as a one-off.
|
|
dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data);
|
|
|
|
@JSName('data')
|
|
@annotation_Creates_SerializedScriptValue
|
|
@annotation_Returns_SerializedScriptValue
|
|
dynamic get _get_data native;
|
|
|
|
$!MEMBERS
|
|
}
|