anchor.diff:  // Copyright 2013 The Flutter Authors. All rights reserved.
   // Use of this source code is governed by a BSD-style license that can be
   // found in the LICENSE file.
  -
  -// TODO(dnfield): remove unused_element ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved.
   
   // @dart = 2.12
   part of dart.ui;
  
positive.code: int? _getCallbackHandle(Function closure) native 'GetCallbackHandle';
  Function? _getCallbackFromHandle(int handle) native 'GetCallbackFromHandle';
  
  // Required for gen_snapshot to work correctly.
  int? _isolateId; // ignore: unused_element
  
  @pragma('vm:entry-point')
  Function _getPrintClosure() => _print;
  @pragma('vm:entry-point')
  Function _getScheduleMicrotaskClosure() => _scheduleMicrotask;
  
negative.code: }
  
  @pragma('vm:entry-point')
  void _setupHooks() {
    assert(() {
      // In debug mode, register the schedule frame extension.
      developer.registerExtension('ext.ui.window.scheduleFrame', _scheduleFrame);
  