text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
#include "ephemeral/Flutter-Generated.xcconfig"
codelabs/tfrs-flutter/step2/frontend/macos/Flutter/Flutter-Debug.xcconfig/0
{ "file_path": "codelabs/tfrs-flutter/step2/frontend/macos/Flutter/Flutter-Debug.xcconfig", "repo_id": "codelabs", "token_count": 19 }
54
#include "Generated.xcconfig"
codelabs/tfrs-flutter/step4/frontend/ios/Flutter/Release.xcconfig/0
{ "file_path": "codelabs/tfrs-flutter/step4/frontend/ios/Flutter/Release.xcconfig", "repo_id": "codelabs", "token_count": 12 }
55
#import "GeneratedPluginRegistrant.h"
codelabs/tfserving-flutter/codelab2/starter/ios/Runner/Runner-Bridging-Header.h/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/ios/Runner/Runner-Bridging-Header.h", "repo_id": "codelabs", "token_count": 13 }
56
/// // Generated code. Do not modify. // source: tensorflow/core/framework/attr_value.proto // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/attr_value.pbenum.dart/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/attr_value.pbenum.dart", "repo_id": "codelabs", "token_count": 117 }
57
/// // Generated code. Do not modify. // source: tensorflow/core/framework/versions.proto // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class VersionDef extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo( const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VersionDef', package: const $pb.PackageName( const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'tensorflow'), createEmptyInstance: create) ..a<$core.int>( 1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'producer', $pb.PbFieldType.O3) ..a<$core.int>( 2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'minConsumer', $pb.PbFieldType.O3) ..p<$core.int>( 3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'badConsumers', $pb.PbFieldType.P3) ..hasRequiredFields = false; VersionDef._() : super(); factory VersionDef({ $core.int? producer, $core.int? minConsumer, $core.Iterable<$core.int>? badConsumers, }) { final _result = create(); if (producer != null) { _result.producer = producer; } if (minConsumer != null) { _result.minConsumer = minConsumer; } if (badConsumers != null) { _result.badConsumers.addAll(badConsumers); } return _result; } factory VersionDef.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory VersionDef.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') VersionDef clone() => VersionDef()..mergeFromMessage(this); @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') VersionDef copyWith(void Function(VersionDef) updates) => super.copyWith((message) => updates(message as VersionDef)) as VersionDef; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static VersionDef create() => VersionDef._(); VersionDef createEmptyInstance() => create(); static $pb.PbList<VersionDef> createRepeated() => $pb.PbList<VersionDef>(); @$core.pragma('dart2js:noInline') static VersionDef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VersionDef>(create); static VersionDef? _defaultInstance; @$pb.TagNumber(1) $core.int get producer => $_getIZ(0); @$pb.TagNumber(1) set producer($core.int v) { $_setSignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasProducer() => $_has(0); @$pb.TagNumber(1) void clearProducer() => clearField(1); @$pb.TagNumber(2) $core.int get minConsumer => $_getIZ(1); @$pb.TagNumber(2) set minConsumer($core.int v) { $_setSignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasMinConsumer() => $_has(1); @$pb.TagNumber(2) void clearMinConsumer() => clearField(2); @$pb.TagNumber(3) $core.List<$core.int> get badConsumers => $_getList(2); }
codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/versions.pb.dart/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/versions.pb.dart", "repo_id": "codelabs", "token_count": 1572 }
58
/// // Generated code. Do not modify. // source: tensorflow/core/protobuf/trackable_object_graph.proto // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/protobuf/trackable_object_graph.pbenum.dart/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/protobuf/trackable_object_graph.pbenum.dart", "repo_id": "codelabs", "token_count": 122 }
59
/// // Generated code. Do not modify. // source: tensorflow_serving/apis/model.proto // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package import 'dart:core' as $core; import 'dart:convert' as $convert; import 'dart:typed_data' as $typed_data; @$core.Deprecated('Use modelSpecDescriptor instead') const ModelSpec$json = const { '1': 'ModelSpec', '2': const [ const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, const { '1': 'version', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Int64Value', '9': 0, '10': 'version' }, const { '1': 'version_label', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'versionLabel' }, const { '1': 'signature_name', '3': 3, '4': 1, '5': 9, '10': 'signatureName' }, ], '8': const [ const {'1': 'version_choice'}, ], }; /// Descriptor for `ModelSpec`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List modelSpecDescriptor = $convert.base64Decode( 'CglNb2RlbFNwZWMSEgoEbmFtZRgBIAEoCVIEbmFtZRI3Cgd2ZXJzaW9uGAIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkludDY0VmFsdWVIAFIHdmVyc2lvbhIlCg12ZXJzaW9uX2xhYmVsGAQgASgJSABSDHZlcnNpb25MYWJlbBIlCg5zaWduYXR1cmVfbmFtZRgDIAEoCVINc2lnbmF0dXJlTmFtZUIQCg52ZXJzaW9uX2Nob2ljZQ==');
codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/model.pbjson.dart/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/model.pbjson.dart", "repo_id": "codelabs", "token_count": 780 }
60
syntax = "proto3"; package tensorflow; option cc_enable_arenas = true; option java_outer_classname = "FullTypeProtos"; option java_multiple_files = true; option java_package = "org.tensorflow.framework"; option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/full_type_go_proto"; // Experimental. Represents the complete type information of a TensorFlow value. enum FullTypeId { // The default represents an uninitialized values. TFT_UNSET = 0; // Type symbols. Used to construct more complex type expressions like // algebraic data types. // Type variables may serve as placeholder for any other type ID in type // templates. // // Examples: // TFT_DATASET[TFT_VAR["T"]] is a Dataset returning a type indicated by "T". // TFT_TENSOR[TFT_VAR["T"]] is a Tensor of n element type indicated by "T". // TFT_TENSOR[TFT_VAR["T"]], TFT_TENSOR[TFT_VAR["T"]] are two tensors of // identical element types. // TFT_TENSOR[TFT_VAR["P"]], TFT_TENSOR[TFT_VAR["Q"]] are two tensors of // independent element types. // TFT_VAR = 1; // Wildcard type. Describes a parameter of unknown type. In TensorFlow, that // can mean either a "Top" type (accepts any type), or a dynamically typed // object whose type is unknown in context. // Important: "unknown" does not necessarily mean undeterminable! TFT_ANY = 2; // The algebraic product type. This is an algebraic type that may be used just // for logical grouping. Not to confused with TFT_TUPLE which describes a // concrete object of several elements. // // Example: // TFT_DATASET[TFT_PRODUCT[TFT_TENSOR[TFT_INT32], TFT_TENSOR[TFT_FLOAT64]]] // is a Dataset producing two tensors, an integer one and a float one. // TFT_PRODUCT = 3; // Represents a named field, with the name stored in the attribute. // // Parametrization: // TFT_NAMED[<type>]{<name>} // * <type> is the type of the field // * <name> is the field name, as string (thpugh can theoretically be an int // as well) // // Example: // TFT_RECORD[ // TFT_NAMED[TFT_TENSOR[TFT_INT32]]{'foo'}, // TFT_NAMED[TFT_TENSOR[TFT_FLOAT32]]{'bar'}, // ] // is a structure with two fields, an int tensor "foo" and a float tensor // "bar". TFT_NAMED = 4; // Template definition. Expands the variables by repeating a template as // arguments of container. // // Parametrization: // TFT_FOR_EACH[<container_type>, <template>, <expansions>] // * <container_type> is the type of the container that the template will be // expanded into // * <template> is any type definition that potentially contains type // variables // * <expansions> is a TFT_VAR and may include more types in the future // // Example: // TFT_FOR_EACH[ // TFT_PRODUCT, // TFT_TENSOR[TFT_VAR["t"]], // TFT_VAR["t"] // ] // will substitute a T = TFT_INT32 to TFT_PRODUCT[TFT_TENSOR[TFT_INT32]] // and a T = (TFT_INT32, TFT_INT64) to // TFT_PRODUCT[TFT_TENSOR[TFT_INT32], TFT_TENSOR[TFT_INT64]]. TFT_FOR_EACH = 20; // Callable types describe functions and ops. // // Parametrization: // TFT_CALLABLE[<arg type>, <return type>] // * <arg type> is the type of the arguments; TFT_PRODUCT represents // multiple // arguments. // * <return type> is the return type; TFT_PRODUCT represents multiple // return values (that means that callables returning multiple things // don't necessarily return a single tuple). // // Example: // TFT_CALLABLE[ // TFT_ANY, // TFT_PRODUCT[TFT_TENSOR[TFT_INT32], TFT_TENSOR[TFT_FLOAT64]], // ] // is a callable with unspecified (for now) input arguments, and // two return values of type tensor. // TFT_CALLABLE = 100; // Concrete type IDs, representing "proper" data types that can describe // runtime TensorFlow objects. // The usual Tensor. This is a parametric type. // // Parametrization: // TFT_TENSOR[<element type>, <shape type>] // * <element type> is currently limited to one of the element types // defined below. // * <shape type> is not yet defined, and may only be TFT_UNKNOWN for now. // // A TFT_SHAPE type will be defined in the future. // // Example: // TFT_TENSOR[TFT_INT32, TFT_UNKNOWN] // is a Tensor of int32 element type and unknown shape. // // TODO(mdan): Define TFT_SHAPE and add more examples. TFT_TENSOR = 1000; // Array (or tensorflow::TensorList in the variant type registry). // Note: this is not to be confused with the deprecated `TensorArray*` ops // which are not supported by FullType. // This type represents a random-access list whose elements can be // described by a single type. Although immutable, Array is expected to // support efficient mutation semantics (i.e. element update) in the // user-facing API. // The element type may be generic or even TFT_ANY for a heterogenous list. // // Parametrization: // TFT_ARRAY[<element type>] // * <element type> may be any concrete type. // // Examples: // TFT_ARRAY[TFT_TENSOR[TFT_INT32]] is a TensorArray holding int32 Tensors // of any shape. // TFT_ARRAY[TFT_TENSOR[TFT_UNKNOWN]] is a TensorArray holding Tensors of // mixed element types. // TFT_ARRAY[TFT_UNKNOWN] is a TensorArray holding any element type. // TFT_ARRAY[] is equivalent to TFT_ARRAY[TFT_UNKNOWN]. // TFT_ARRAY[TFT_ARRAY[]] is an array or arrays (of unknown types). TFT_ARRAY = 1001; // Optional (or tensorflow::OptionalVariant in the variant type registry). // This type represents a value that may either hold an element of a single // specified type, or nothing at all. // // Parametrization: // TFT_OPTIONAL[<element type>] // * <element type> may be any concrete type. // // Examples: // TFT_OPTIONAL[TFT_TENSOR[TFT_INT32]] is an Optional holding an int32 // Tensor of any shape. TFT_OPTIONAL = 1002; // Literal types describe compile-time constant values. // Literal types may also participate in dependent types. // // Parametrization: // TFT_LITERAL[<value type>]{<value>} // * <value type> may be any concrete type compatible that can hold <value> // * <value> is the type's attribute, and holds the actual literal value // // Examples: // TFT_LITERAL[TFT_INT32]{1} is the compile-time constant 1. TFT_LITERAL = 1003; // Type attributes. These always appear in the parametrization of a type, // never alone. For example, there is no such thing as a "bool" TensorFlow // object (for now). // The bool element type. // TODO(mdan): Quantized types, legacy representations (e.g. ref) TFT_BOOL = 200; // Integer element types. TFT_UINT8 = 201; TFT_UINT16 = 202; TFT_UINT32 = 203; TFT_UINT64 = 204; TFT_INT8 = 205; TFT_INT16 = 206; TFT_INT32 = 207; TFT_INT64 = 208; // Floating-point element types. TFT_HALF = 209; TFT_FLOAT = 210; TFT_DOUBLE = 211; TFT_BFLOAT16 = 215; // Complex element types. // TODO(mdan): Represent as TFT_COMPLEX[TFT_DOUBLE] instead? TFT_COMPLEX64 = 212; TFT_COMPLEX128 = 213; // The string element type. TFT_STRING = 214; // Other types that we don't know yet whether they will become part of the // core type system or be consisdered third-party (and consequently moved to // user-defined type mechanisms). Presently, they are effectively in the core // type system, because key compilation passes like Placer account for their // existence. // Datasets created by tf.data ops and APIs. Datasets have generator/iterable // semantics, that is, one can construct an iterator from them. Like // Array, they are considered to return elements that can be described // by a single type. Unlike Array, they do not support random access or // mutation, and can potentially produce an infinite number of elements. // A datasets can produce logical structures (e.g. multiple elements). This // is expressed using TFT_PRODUCT. // // // Parametrization: TFT_ARRAY[<element type>]. // * <element type> may be a concrete type or a type symbol. It represents // the data type of the elements produced by the dataset. // // Examples: // TFT_DATSET[TFT_TENSOR[TFT_INT32]] is a Dataset producing single int32 // Tensors of unknown shape. // TFT_DATSET[TFT_PRODUCT[TFT_TENSOR[TFT_INT32], TFT_TENSOR[TFT_FLOAT32]] is // a Dataset producing pairs of Tensors, one integer and one float. // Note: The high ID number is to prepare for the eventuality that Datasets // will be supported by user types in the future. TFT_DATASET = 10102; // A ragged tensor created by tf.ragged ops and APIs. // // Parametrization: TFT_RAGGED[<element_type>]. TFT_RAGGED = 10103; // A mutex lock tensor, produced by tf.raw_ops.MutexLock. // Unlike strict execution models, where ownership of a lock is denoted by // "running after the lock has been acquired", in non-strict mode, lock // ownership is in the true sense: "the op argument representing the lock is // available". // Mutex locks are the dynamic counterpart of control dependencies. // TODO(mdan): Properly document this thing. // // Parametrization: TFT_MUTEX_LOCK[]. TFT_MUTEX_LOCK = 10202; // The equivalent of a Tensor with DT_VARIANT dtype, kept here to simplify // translation. This type should not normally appear after type inference. // Note that LEGACY_VARIANT != ANY: TENSOR[INT32] is a subtype of ANY, but is // not a subtype of LEGACY_VARIANT. TFT_LEGACY_VARIANT = 10203; } // Highly experimental and very likely to change. // This encoding uses tags instead of dedicated messages for regularity. In // particular the encoding imposes no restrictions on what the parameters of any // type should be, which in particular needs to be true for type symbols. message FullTypeDef { // The principal type represented by this object. This may be a concrete type // (Tensor, Dataset) a type variable (used for dependent types) a type // symbol (Any, Union). See FullTypeId for details. FullTypeId type_id = 1; repeated FullTypeDef args = 2; // Literal values of this type object, if the the type admits one. // For example, a type variable admits a string attribute - its name. // Shape-related types may admit int attributes - their static shape values. // Fields for more data types to be added as needed. oneof attr { string s = 3; int64 i = 4; // TODO(mdan): list/tensor, map? Need to reconcile with TFT_RECORD, etc. } }
codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/framework/full_type.proto/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/framework/full_type.proto", "repo_id": "codelabs", "token_count": 3663 }
61
syntax = "proto3"; option cc_enable_arenas = true; import "tensorflow_serving/apis/input.proto"; import "tensorflow_serving/apis/model.proto"; package tensorflow.serving; // A single class. message Class { // Label or name of the class. string label = 1; // Score for this class (e.g., the probability the item belongs to this // class). As per the proto3 default-value semantics, if the score is missing, // it should be treated as 0. float score = 2; } // List of classes for a single item (tensorflow.Example). message Classifications { repeated Class classes = 1; } // Contains one result per input example, in the same order as the input in // ClassificationRequest. message ClassificationResult { repeated Classifications classifications = 1; } // RPC Interfaces message ClassificationRequest { // Model Specification. If version is not specified, will use the latest // (numerical) version. ModelSpec model_spec = 1; // Input data. tensorflow.serving.Input input = 2; } message ClassificationResponse { // Effective Model Specification used for classification. ModelSpec model_spec = 2; // Result of the classification. ClassificationResult result = 1; }
codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow_serving/apis/classification.proto/0
{ "file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow_serving/apis/classification.proto", "repo_id": "codelabs", "token_count": 339 }
62
org.gradle.jvmargs=-Xmx4G android.useAndroidX=true android.enableJetifier=true
codelabs/webview_flutter/step_04/android/gradle.properties/0
{ "file_path": "codelabs/webview_flutter/step_04/android/gradle.properties", "repo_id": "codelabs", "token_count": 30 }
63
org.gradle.jvmargs=-Xmx4G android.useAndroidX=true android.enableJetifier=true
codelabs/webview_flutter/step_05/android/gradle.properties/0
{ "file_path": "codelabs/webview_flutter/step_05/android/gradle.properties", "repo_id": "codelabs", "token_count": 30 }
64
include: ../../analysis_options.yaml
codelabs/webview_flutter/step_06/analysis_options.yaml/0
{ "file_path": "codelabs/webview_flutter/step_06/analysis_options.yaml", "repo_id": "codelabs", "token_count": 12 }
65
include: ../../analysis_options.yaml
codelabs/webview_flutter/step_12/analysis_options.yaml/0
{ "file_path": "codelabs/webview_flutter/step_12/analysis_options.yaml", "repo_id": "codelabs", "token_count": 12 }
66
# Contributing to DevTools ![GitHub contributors](https://img.shields.io/github/contributors/flutter/devtools.svg) _tl;dr: join [Discord](https://github.com/flutter/flutter/wiki/Chat), be [courteous](https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md), follow the steps below to set up a development environment; if you stick around and contribute, you can [join the team](https://github.com/flutter/flutter/wiki/Contributor-access) and get commit access._ > If you are here because you just want to test the bleeding-edge (unreleased) DevTools functionality, follow our [beta testing guidance](https://github.com/flutter/devtools/blob/master/BETA_TESTING.md). ## Welcome We gladly accept contributions via GitHub pull requests! We encourage you to read the [Welcome](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md#welcome) remarks in the Flutter framework's contributing guide, as all of that information applies to contributing to the `flutter/devtools` repo as well. We communicate primarily over GitHub and [Discord](https://github.com/flutter/flutter/wiki/Chat) on the [#hackers-devtools](https://discord.com/channels/608014603317936148/1106667330093723668) channel. Before contributing code: 1. Complete the [Contributor License Agreement](https://cla.developers.google.com/clas). You can do this online, and it only takes a minute. 2. Review the [DevTools style guide](STYLE.md), which uses a combination of Dart and Flutter best practices. ## Table of contents 1. [Developing for DevTools](#developing-for-devtools) - [Set up your DevTools environment](#set-up-your-devtools-environment) - [Workflow for making changes](#workflow-for-making-changes) - [Keeping your fork in sync](#keeping-your-fork-in-sync) 2. [Running and debugging DevTools](#running-and-debugging-devtools) - [Frontend only (most common)](#frontend-only-most-common) - [Frontend + DevTools server](#frontend--devtools-server) - [DevTools + VS Code integration](#devtools--vs-code-integration-ide-embedded-devtools-experience) 3. [Testing for DevTools](#testing-for-devtools) 4. [Appendix](#appendix) ## Developing for DevTools ### Set up your DevTools environment **Before setting up your DevTools environment**, please make sure you have [cloned the Flutter SDK from GitHub](https://docs.flutter.dev/get-started/install/macos#downloading-straight-from-github-instead-of-using-an-archive) and added the included `flutter` and `dart` executables to your `PATH` environment variable (see Flutter instructions for how to [update your PATH](https://docs.flutter.dev/get-started/install/macos#update-your-path)). Typing `which flutter` and `which dart` (or `where.exe flutter` and `where.exe dart` for Windows) into your terminal should print the path to the binaries from Flutter SDK you cloned from Github. 1. [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the DevTools repo to your own Github account, and then clone it using SSH. If you haven't already, you may need to [generate a new SSH key](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) to connect to Github with SSH. 2. Make sure to [configure Git to keep your fork in sync](https://docs.github.com/en/get-started/quickstart/fork-a-repo#configuring-git-to-sync-your-fork-with-the-upstream-repository) with the upstream DevTools repo. 3. Ensure that you have access to the `devtools_tool` executable by: - Running `flutter pub get` on the `devtools/tool` directory - Adding the `devtools/tool/bin` folder to your `PATH` environment variable: - **MacOS Users** - add the following to your `~/.zshrc` file (or `~/.bashrc`, `~/.bash_profile` if you use Bash), replacing `<DEVTOOLS_DIR>` with the local path to your DevTools repo: ``` export PATH=$PATH:<DEVTOOLS_DIR>/tool/bin ``` - **Windows Users** - Open "Edit environment variables for your account" from Control Panel - Locate the `Path` variable and click **Edit** - Click the **New** button and paste in `<DEVTOOLS_DIR>/tool/bin`, replacing `<DEVTOOLS_DIR>` with the local path to your DevTools repo. Explore the commands and helpers that the `devtools_tool` provides by running `devtools_tool -h`. 4. **Optional:** enable and activate DCM (Dart Code Metrics) - see the [DCM section below](#enable-and-activate-dcm-dart-code-metrics) #### Set up your IDE We recommend using VS Code for your DevTools development environment because this gives you access to some advanced development and configuration features. When you open DevTools in VS Code, open the `devtools/packages` directory in your VS Code workspace. This will give you access to a set of launch configurations for running and debugging DevTools: ![VS Code launch configurations](_markdown_images/vs_code_launch_configurations.png) ### Workflow for making changes 1. Change your local Flutter SDK to the latest flutter candidate branch: `devtools_tool update-flutter-sdk --from-path` 2. Create a branch from your cloned DevTools repo: `git checkout -b myBranch` 3. Ensure your branch, dependencies, and generated code are up-to-date: `devtools_tool sync` 4. Implement your changes, and commit to your branch: `git commit -m “description”` - If your improvement is user-facing, document it in [NEXT_RELEASE_NOTES.md](packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md) and include this edit as part of your PR. 5. Push to your branch to GitHub: `git push origin myBranch` 6. Navigate to the [Pull Requests](https://github.com/flutter/devtools/pulls) tab in the main [DevTools repo](https://github.com/flutter/devtools). You should see a popup to create a pull request from the branch in your cloned repo to the DevTools master branch. Create a pull request. - **Running the Dart Code Metrics Github workflow:** any PRs that change Dart code require the Dart Code Metrics workflow to be run before being submitted. To trigger the workflow, add the label `run-dcm-workflow` to your PR. If you don't have permission to add the label, your reviewer can add it for you. - Any DCM errors will be caught by the workflow. Fix them and push up your changes. To trigger the DCM workflow to run again, you will need to remove and then re-add the `run-dcm-workflow` label. ### Keeping your fork in-sync - If at any time you need to re-sync your branch, run: ``` devtools_tool sync ``` This will pull the latest code from the upstream DevTools, upgrade dependencies, and perform code generation. - If you want to upgrade dependencies and re-generate code (like mocks), but do not want to merge `upstream/master`, instead run ``` devtools_tool generate-code --upgrade ``` - To update DCM to the same version as on GitHub bots with apt-get or brew: 1. Locate, copy and run apt-get command searching by searching for `install dcm` in [build.yaml](https://github.com/flutter/devtools/blob/master/.github/workflows/build.yaml) 2. Locate version on bots by searching for `install dcm` in [build.yaml](https://github.com/flutter/devtools/blob/master/.github/workflows/build.yaml) and run `brew install cqlabs/dcm/dcm@<version on bots without -1>` You can check you current local version with `dcm --version`. If version of DCM on bots is outdated, consider to submit a PR to refresh the version on bots. ## Running and debugging DevTools There are a few different environments that you may need to run DevTools in. After running DevTools in one of the environments below, connect to a test application to debug DevTools runtime tooling (the majority of DevTools tools). See the [Connect DevTools to a test application](#connect-devtools-to-a-test-application) section below. ### Frontend only (most common) Most of the time, you will not need to run DevTools with the DevTools server to test your changes. You can run DevTools in debug mode as either a Flutter web or Flutter desktop app. > Note: though DevTools is shipped as a Flutter Web app, we recommend developing as a Flutter Desktop app whenever possible for a more efficient development workflow. Please see the [running on Flutter desktop](#running-devtools-on-flutter-desktop) section below for instructions. - To run DevTools as a Flutter web app **from VS Code**, run with the **devtools (packages)** configuration and the "Chrome" device - To run with experiments enabled, run from VS Code with the **devtools + experiments (packages)** configuration - To run DevTools as a Flutter web app **from the command line**, run `flutter run -d chrome` - To run with experiments enabled, add the flag `--dart-define=enable_experiments=true` ### Frontend + DevTools server To develop with a workflow that exercises the DevTools server <==> DevTools client connection, you will need to perform the following set up steps (first time only). 1. Clone the [Dart SDK](https://github.com/dart-lang/sdk) fron GitHub. 2. The `LOCAL_DART_SDK` environment variable needs to point to this path: `export LOCAL_DART_SDK=/path/to/dart/sdk` If you are also developing server side code (e.g. the `devtools_shared` package), you will need to add a dependency override to `sdk/pkg/dds/pubspec.yaml`. ```yaml dependency_overrides: devtools_shared: path: relative/path/to/devtools/packages/devtools_shared ``` Then you can run DevTools with the server by running the following from the top-level `devtools` directory: ``` devtools_tool serve ``` ### DevTools + VS Code integration (IDE-embedded DevTools experience) To test the integration with VS Code, you can set up the Dart VS Code extension to run DevTools and the server from your local source code. Follow the [Frontend + DevTools server](#frontend--devtools-server) setup instructions above, and make sure you have version v3.47 or newer of the Dart extension for VS Code. Open your VS Code settings (Run the **Preferences: Open User Settings (JSON)** command from the command palette (`F1`)) and add the following to your settings: ```js "dart.customDevTools": { "path": "/path/to/devtools", "env": { "LOCAL_DART_SDK": "/path/to/sdk" // Path to the version that Flutter DevTools is pinned to. "FLUTTER_ROOT": "/path/to/devtools/tool/flutter-sdk" } }, ``` This instructs VS Code to run the `devtools_tool serve` command instead of running `dart devtools`. You must set the `LOCAL_DART_SDK` and `FLUTTER_ROOT` env variables correctly for the script to work. Next, restart VS Code (or run the **Developer: Reload Window** command from the command palette (`F1`)) and DevTools will be run from your local source code. After making any code changes to DevTools or the server, you will need to re-run the **Developer: Reload Window** command to rebuild and restart the server. ## Testing for DevTools Please see [TESTING.md](TESTING.md) for guidance on running and writing tests. ## Appendix ### Connect DevTools to a test application For working on most DevTools tools, a connection to a running Dart or Flutter app is required. Run any Dart of Flutter app of your choice to connect it to DevTools. Consider running the [Flutter gallery](https://github.com/flutter/gallery#running) app, as it has plenty of interesting code to debug. 1. Run your Dart or Flutter app > Note: some DevTools features may be unavailable depending on the test app platform (Flutter native, Flutter web, Dart CLI, etc.) or run mode (debug, profile) you choose. 2. Copy the URI printed to the command line (you will use this uri to connect to DevTools) ``` "A Dart VM Service on iPhone 14 Pro Max is available at: <copy-this-uri>" ``` 3. Paste this URI into the connect dialog in DevTools and click "Connect" ![Connect dialog example](_markdown_images/connect_dialog_example.png) ### Running DevTools on Flutter Desktop For a faster development cycle with hot reload, you can run DevTools on Flutter desktop. Some DevTools features only work on the web, like the embedded Perfetto trace viewer, DevTools extensions, or DevTools analytics, but the limitations on the desktop app are few. To run DevTools with the desktop embedder, you can run with either of the following from `devtools/packages/devtools_app`: - `flutter run -d macos` - `flutter run -d linux` If this fails, you may need to run `flutter create .` from `devtools/packages/devtools_app` to generate the updated files for your platform. If you want to run DevTools on Flutter desktop for Windows, you will need to generate the files for this platform using the same command, and then run using `flutter run -d windows`. ### Enable and activate DCM (Dart Code Metrics) Enabling and activating DCM is optional. When you open a PR, the CI bots will show you any DCM warnings introduced by your change which should be fixed before submitting. - **Contributors who work at Google:** you can use the Google-purchased license key to activate DCM. See [go/dash-devexp-dcm-keys](http://goto.google.com/dash-devexp-dcm-keys). - **All other contributors:** please follow instructions at <https://dcm.dev/pricing/>. You can either use the free tier of DCM, or purchase a team license. Note that the free tier doesn't support all the rules of the paid tier, so you will also need to consult the output of the [Dart Code Metrics workflow on Github](#running-the-dart-code-metrics-github-workflow) when you open your PR. To enable DCM: 1. Install the executable for your target platform. You can refer to [this guide](https://dcm.dev/docs/teams/getting-started/#installation). 2. [Get the license key](http://goto.google.com/dash-devexp-dcm-keys) and activate DCM. To do so, run `dcm activate --license-key=YOUR_KEY` from the console. 3. Install the extension for your IDE. If you use VS Code, you can get it from [the marketplace](https://marketplace.visualstudio.com/items?itemName=dcmdev.dcm-vscode-extension). If you use IntelliJ IDEA or Android Studio, you can find the plugin [here](https://plugins.jetbrains.com/plugin/20856-dcm). 4. Reload the IDE. >Note: DCM issues can be distinguished from the Dart analyzer issues by their name: DCM rule names contain `-`. Some of the issues can be fixed via CLI, to do so, run `dcm fix` for any directory. To apply `dcm fix` on a file save in the IDE, refer to [this guide](https://dcm.dev/docs/teams/ide-integrations/vscode/#extension-capabilities). ### third_party dependencies All content not authored by the Flutter team (which includes both sponsored and open-source contributors) must go in the `third_party` directory. As an expedient to make the `third_party` code work well with our build scripts, code in `third_party` should be given a stub `pubspec.yaml` file so that you can reference the resources from the packages directory from `packages/devtools_app/web/index.html`
devtools/CONTRIBUTING.md/0
{ "file_path": "devtools/CONTRIBUTING.md", "repo_id": "devtools", "token_count": 4300 }
67
#include "Generated.xcconfig"
devtools/case_study/code_size/optimized/code_size_images/ios/Flutter/Debug.xcconfig/0
{ "file_path": "devtools/case_study/code_size/optimized/code_size_images/ios/Flutter/Debug.xcconfig", "repo_id": "devtools", "token_count": 12 }
68
#include "Generated.xcconfig"
devtools/case_study/code_size/unoptimized/code_size_package/ios/Flutter/Release.xcconfig/0
{ "file_path": "devtools/case_study/code_size/unoptimized/code_size_package/ios/Flutter/Release.xcconfig", "repo_id": "devtools", "token_count": 12 }
69
#include "Generated.xcconfig"
devtools/case_study/memory_leaks/images_1/ios/Flutter/Release.xcconfig/0
{ "file_path": "devtools/case_study/memory_leaks/images_1/ios/Flutter/Release.xcconfig", "repo_id": "devtools", "token_count": 12 }
70
#include "Generated.xcconfig"
devtools/case_study/memory_leaks/leaking_counter_1/ios/Flutter/Release.xcconfig/0
{ "file_path": "devtools/case_study/memory_leaks/leaking_counter_1/ios/Flutter/Release.xcconfig", "repo_id": "devtools", "token_count": 12 }
71
#include "Generated.xcconfig"
devtools/case_study/platform_channel/ios/Flutter/Debug.xcconfig/0
{ "file_path": "devtools/case_study/platform_channel/ios/Flutter/Debug.xcconfig", "repo_id": "devtools", "token_count": 12 }
72
import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class ChannelDemo extends StatefulWidget { @override State<ChannelDemo> createState() => _ChannelDemoState(); } class _ChannelDemoState extends State<ChannelDemo> { static const sendMessage = 'Send message by clicking the "Mail" button below'; late BasicMessageChannel<String> _channel; late String _response; void _sendMessage() { unawaited(_channel.send('Message from Dart')); } void _reset() { setState(() { _response = sendMessage; }); } @override void initState() { super.initState(); _response = sendMessage; _channel = const BasicMessageChannel<String>('shuttle', StringCodec()); _channel.setMessageHandler((String? response) async { if (response != null) { setState(() => _response = response); } return ''; }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Channel Demo'), ), body: Padding( padding: const EdgeInsets.all(16.0), child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: <Widget>[ Center(child: Text(_response)), Align( alignment: Alignment.bottomRight, child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: <Widget>[ FloatingActionButton( heroTag: 'reset', onPressed: _reset, child: const Icon(Icons.refresh), ), FloatingActionButton( heroTag: 'send_message', onPressed: _sendMessage, child: const Icon(Icons.mail), ), ], ), ), ], ), ), ); } }
devtools/case_study/platform_channel/lib/channel_demo.dart/0
{ "file_path": "devtools/case_study/platform_channel/lib/channel_demo.dart", "repo_id": "devtools", "token_count": 919 }
73
--- redirect_to: https://flutter.dev/docs/development/tools/devtools/vscode ---
devtools/docs/vscode.md/0
{ "file_path": "devtools/docs/vscode.md", "repo_id": "devtools", "token_count": 29 }
74
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: invalid_use_of_visible_for_testing_member, valid use for benchmark tests. import 'package:devtools_app/src/screens/profiler/panes/bottom_up.dart'; import 'package:devtools_app/src/screens/profiler/panes/call_tree.dart'; import 'package:devtools_app/src/screens/profiler/panes/cpu_flame_chart.dart'; import 'package:devtools_app/src/screens/profiler/panes/method_table/method_table.dart'; import 'package:devtools_test/helpers.dart'; import 'package:devtools_test/test_data.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; class CpuProfilerScreenAutomator { const CpuProfilerScreenAutomator(this.controller); final WidgetController controller; Future<void> run() async { logStatus('Loading offline CPU profiler data and interacting'); await loadSampleData( controller, cpuProfilerFileName, // We use a long delay here because the CPU profile data takes a while to // load in headless mode. waitTimeForLoad: const Duration(seconds: 30), ); // At this point we are on the 'Bottom Up' tab. Scroll to the end. logStatus('On Bottom Up tab by default. Scrolling through table.'); await scrollToEnd<CpuBottomUpTable>(controller); // Switch to all other CPU profiler tabs and scroll to the end. logStatus('Switching to Call Tree tab.'); await controller.tap(find.widgetWithText(InkWell, 'Call Tree')); await controller.pump(longPumpDuration); logStatus('Scrolling through Call Tree table.'); await scrollToEnd<CpuCallTreeTable>(controller); logStatus('Switching to Method Table tab.'); await controller.tap(find.widgetWithText(InkWell, 'Method Table')); await controller.pump(longPumpDuration); logStatus('Scrolling through Method Table.'); await scrollToEnd<MethodTable>(controller); logStatus('Switching to CPU Flame Chart tab.'); await controller.tap(find.widgetWithText(InkWell, 'CPU Flame Chart')); await controller.pump(longPumpDuration); logStatus('Scrolling through CPU Flame Chart.'); await scrollToEnd<CpuProfileFlameChart>(controller); logStatus('End loading offline CPU profiler data and interacting'); } }
devtools/packages/devtools_app/benchmark/test_infra/automators/_cpu_profiler_automator.dart/0
{ "file_path": "devtools/packages/devtools_app/benchmark/test_infra/automators/_cpu_profiler_automator.dart", "repo_id": "devtools", "token_count": 759 }
75
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/screens/performance/panes/flutter_frames/flutter_frames_chart.dart'; import 'package:devtools_app/src/screens/performance/panes/timeline_events/perfetto/_perfetto_web.dart'; import 'package:devtools_test/helpers.dart'; import 'package:devtools_test/integration_test.dart'; import 'package:devtools_test/test_data.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; // To run: // dart run integration_test/run_tests.dart --target=integration_test/test/offline/perfetto_test.dart void main() { final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized(); testWidgets( 'Perfetto trace viewer loads data and scrolls for Flutter frames', (tester) async { await pumpDevTools(tester); await loadSampleData(tester, performanceFileName); await tester.tap(find.widgetWithText(InkWell, 'Timeline Events')); await tester.pumpAndSettle(longPumpDuration); logStatus('verify HtmlElementView has loaded'); expect(find.byType(Perfetto), findsOneWidget); expect(find.byType(HtmlElementView), findsOneWidget); await verifyScreenshot(binding, 'perfetto_initial_load'); logStatus('select a Flutter Frame'); await tester.tap(find.byType(FlutterFramesChartItem).first); await tester.pumpAndSettle(safePumpDuration); await verifyScreenshot(binding, 'perfetto_frame_selection'); logStatus( 'switch to a different feature tab and back to Timeline Events', ); await tester.tap(find.widgetWithText(InkWell, 'Frame Analysis')); await tester.pump(safePumpDuration); await tester.tap(find.widgetWithText(InkWell, 'Timeline Events')); await tester.pump(safePumpDuration); await verifyScreenshot( binding, 'perfetto_frame_selection_2', lastScreenshot: true, ); }, ); }
devtools/packages/devtools_app/integration_test/test/offline/perfetto_test.dart/0
{ "file_path": "devtools/packages/devtools_app/integration_test/test/offline/perfetto_test.dart", "repo_id": "devtools", "token_count": 760 }
76
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:ui_web' as ui_web; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_extensions/api.dart'; import 'package:path/path.dart' as path; import 'package:web/web.dart'; import '../../shared/development_helpers.dart'; import '../../shared/globals.dart'; import '../../shared/primitives/utils.dart'; import '../../shared/server/server.dart'; import 'controller.dart'; /// Incrementer for the extension iFrame view that will live for the entire /// DevTools lifecycle. /// /// Each time [EmbeddedExtensionControllerImpl.init] is called, we create a new /// [html.IFrameElement] and register it to /// [EmbeddedExtensionControllerImpl.viewId] via /// [ui_web.platformViewRegistry.registerViewFactory]. Each new /// [html.IFrameElement] must have a unique id in the [PlatformViewRegistry], /// which [_viewIdIncrementer] is used to create. var _viewIdIncrementer = 0; class EmbeddedExtensionControllerImpl extends EmbeddedExtensionController with AutoDisposeControllerMixin { EmbeddedExtensionControllerImpl(super.extensionConfig); /// The view id for the extension iFrame. /// /// See [_viewIdIncrementer] for an explanation of why we use an incrementer /// in the id. late final viewId = 'ext-${extensionConfig.name}-${_viewIdIncrementer++}'; String get extensionUrl { if (debugDevToolsExtensions && !isDevToolsServerAvailable) { return 'https://flutter.dev/'; } final basePath = devtoolsAssetsBasePath( origin: window.location.origin, path: window.location.pathname, ); final baseUri = path.join( basePath, 'devtools_extensions', extensionConfig.name, 'index.html', ); final queryParams = { ...loadQueryParams(), ExtensionEventParameters.theme: preferences.darkModeTheme.value ? ExtensionEventParameters.themeValueDark : ExtensionEventParameters.themeValueLight, if (dtdManager.uri != null) 'dtdUri': dtdManager.uri.toString(), }; return Uri.parse(baseUri).copyWith(queryParameters: queryParams).toString(); } HTMLIFrameElement get extensionIFrame => _extensionIFrame; late final HTMLIFrameElement _extensionIFrame; final extensionPostEventStream = StreamController<DevToolsExtensionEvent>.broadcast(); bool _initialized = false; @override void init() { assert( !_initialized, 'EmbeddedExtensionController.init() should only be called once.', ); _initialized = true; _extensionIFrame = createIFrameElement() // This url is safe because we built it ourselves and it does not include // any user input. // ignore: unsafe_html ..src = extensionUrl ..allow = 'usb'; _extensionIFrame.style ..border = 'none' ..height = '100%' ..width = '100%'; final registered = ui_web.platformViewRegistry.registerViewFactory( viewId, (int viewId) => _extensionIFrame, ); assert(registered, 'Failed to register view factory for $viewId.'); } @override void postMessage( DevToolsExtensionEventType type, { Map<String, String> data = const <String, String>{}, }) { extensionPostEventStream.add(DevToolsExtensionEvent(type, data: data)); } @override void dispose() async { await extensionPostEventStream.close(); super.dispose(); } }
devtools/packages/devtools_app/lib/src/extensions/embedded/_controller_web.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/extensions/embedded/_controller_web.dart", "repo_id": "devtools", "token_count": 1202 }
77
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import '../shared/common_widgets.dart'; import '../shared/globals.dart'; import '../shared/notifications.dart'; import '../shared/primitives/utils.dart'; double get _notificationHeight => scaleByFontFactor(175.0); final _notificationWidth = _notificationHeight * goldenRatio; /// Manager for notifications in the app. class NotificationsView extends StatelessWidget { const NotificationsView({Key? key, required this.child}) : super(key: key); final Widget child; @override Widget build(BuildContext context) { return Overlay( initialEntries: [ OverlayEntry( builder: (context) => _Notifications(child: child), maintainState: true, opaque: true, ), ], ); } } /// _Notifications is not combined with NotificationsView. /// because we are calling Overlay.of(context) from lifecycle methods /// in _NotificationsState, which would fail if the Overlay widget is defined /// in _NotificationsState.build because there would be no Overlay in the tree /// at the time Overlay.of(context) is called. class _Notifications extends StatefulWidget { const _Notifications({Key? key, required this.child}) : super(key: key); final Widget child; @override State<_Notifications> createState() => _NotificationsState(); } class _NotificationsState extends State<_Notifications> with AutoDisposeMixin { OverlayEntry? _overlayEntry; final List<_Notification> _notifications = []; @override void didChangeDependencies() { super.didChangeDependencies(); if (_overlayEntry == null) { _overlayEntry = OverlayEntry( maintainState: true, builder: (_) => _NotificationOverlay(notifications: _notifications), ); SchedulerBinding.instance.scheduleFrameCallback((_) { Overlay.of(context).insert(_overlayEntry!); }); addAutoDisposeListener( notificationService.newTasks, _processQueues, ); } _processQueues(); } void _processQueues() { while (notificationService.toDismiss.isNotEmpty) { _dismiss(notificationService.toDismiss.removeFirst().text); } while (notificationService.toPush.isNotEmpty) { _push(notificationService.toPush.removeFirst()); } } @override void dispose() { _overlayEntry!.remove(); super.dispose(); } // TODO(peterdjlee): Support clickable links in notification text. See #2268. /// Pushes a notification [message], and returns whether the notification was /// successfully pushed. void _push(NotificationMessage message) { setState(() { _notifications.add( _Notification( message: message, remove: _removeNotification, ), ); _overlayEntry?.markNeedsBuild(); }); } /// Dismisses all notifications with a matching message. void _dismiss(String message) { bool didDismiss = false; // Make a copy so we do not remove a notification from [_notifications] // while iterating over it. final notifications = List<_Notification>.of(_notifications); for (final notification in notifications) { if (notification.message.text == message) { _notifications.remove(notification); notificationService.markComplete(notification.message); didDismiss = true; } } if (didDismiss) { setState(() { _overlayEntry?.markNeedsBuild(); }); } } void _removeNotification(_Notification notification) { setState(() { final didRemove = _notifications.remove(notification); notificationService.markComplete(notification.message); if (didRemove) { _overlayEntry?.markNeedsBuild(); } }); } @override Widget build(BuildContext context) { return widget.child; } } class _NotificationOverlay extends StatelessWidget { const _NotificationOverlay({ required List<_Notification> notifications, }) : _notifications = notifications; final List<_Notification> _notifications; @override Widget build(BuildContext context) { return Align( alignment: Alignment.bottomRight, child: Padding( // Position the notifications in the lower right of the app window, and // high enough up that we don't obscure the status line. padding: EdgeInsets.only( right: defaultSpacing, bottom: statusLineHeight + defaultSpacing, ), child: SizedBox( width: _notificationWidth, child: SingleChildScrollView( reverse: true, child: Column( crossAxisAlignment: CrossAxisAlignment.end, mainAxisSize: MainAxisSize.min, children: _notifications, ), ), ), ), ); } } class _Notification extends StatefulWidget { const _Notification({ Key? key, required this.message, required this.remove, }) : super(key: key); final NotificationMessage message; final void Function(_Notification) remove; @override _NotificationState createState() => _NotificationState(); } class _NotificationState extends State<_Notification> with SingleTickerProviderStateMixin { late AnimationController controller; late CurvedAnimation curve; Timer? _dismissTimer; @override void initState() { super.initState(); controller = AnimationController( duration: const Duration(milliseconds: 400), vsync: this, ); curve = CurvedAnimation( parent: controller, curve: Curves.easeInOutCirc, ); // Set up a timer that reverses the entrance animation, and tells the widget // to remove itself when the exit animation is completed. // We can do this because the NotificationsState is directly controlling // the life cycle of each _Notification widget presented in the overlay. if (!widget.message.isDismissible) { _dismissTimer = Timer(widget.message.duration, () { controller.addStatusListener((status) { if (status == AnimationStatus.dismissed) { widget.remove(widget); } }); controller.reverse(); }); } controller.forward(); } @override void dispose() { controller.dispose(); _dismissTimer?.cancel(); super.dispose(); } @override Widget build(BuildContext context) { final theme = Theme.of(context); return AnimatedBuilder( animation: controller, builder: (context, child) { return Opacity( opacity: curve.value, child: child, ); }, child: Card( color: theme.snackBarTheme.backgroundColor, margin: const EdgeInsets.fromLTRB(0, 0, 0, densePadding), child: DefaultTextStyle( style: theme.snackBarTheme.contentTextStyle ?? theme.primaryTextTheme.titleMedium!, child: Padding( padding: const EdgeInsets.all(denseSpacing), child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ widget.message.isDismissible ? Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.start, children: [ Flexible( child: _NotificationMessage( widget: widget, ), ), _DismissAction( onPressed: () { widget.remove(widget); }, ), ], ) : _NotificationMessage( widget: widget, ), const SizedBox(height: defaultSpacing), _NotificationActions(widget: widget), ], ), ), ), ), ); } } class _DismissAction extends StatelessWidget { const _DismissAction({ required this.onPressed, }); final void Function() onPressed; @override Widget build(BuildContext context) { return Align( alignment: Alignment.topRight, child: IconButton( icon: const Icon( Icons.close, ), onPressed: onPressed, ), ); } } class _NotificationMessage extends StatelessWidget { const _NotificationMessage({ required this.widget, }); final _Notification widget; @override Widget build(BuildContext context) { final theme = Theme.of(context); final textStyle = theme.regularTextStyle; return Padding( padding: const EdgeInsets.fromLTRB( denseSpacing, denseSpacing, denseSpacing, 0, ), child: Text( widget.message.text, style: widget.message.isError ? textStyle.copyWith(color: theme.colorScheme.error) : textStyle, overflow: TextOverflow.visible, maxLines: 10, ), ); } } class _NotificationActions extends StatelessWidget { const _NotificationActions({ required this.widget, }); final _Notification widget; @override Widget build(BuildContext context) { final actions = widget.message.actions; if (actions.isEmpty) return const SizedBox(); return Row( mainAxisAlignment: MainAxisAlignment.end, children: actions.joinWith(const SizedBox(width: denseSpacing)), ); } }
devtools/packages/devtools_app/lib/src/framework/notifications_view.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/framework/notifications_view.dart", "repo_id": "devtools", "token_count": 4052 }
78
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:codicon/codicon.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/material.dart' hide Stack; import 'package:vm_service/vm_service.dart'; import '../../shared/analytics/constants.dart' as gac; import '../../shared/common_widgets.dart'; import '../../shared/globals.dart'; import '../../shared/primitives/utils.dart'; import '../../shared/utils.dart'; import 'debugger_controller.dart'; class DebuggingControls extends StatefulWidget { const DebuggingControls({Key? key}) : super(key: key); static const minWidthBeforeScaling = 1750.0; @override State<DebuggingControls> createState() => _DebuggingControlsState(); } class _DebuggingControlsState extends State<DebuggingControls> with AutoDisposeMixin, ProvidedControllerMixin<DebuggerController, DebuggingControls> { @override void didChangeDependencies() { super.didChangeDependencies(); if (!initController()) return; addAutoDisposeListener( serviceConnection .serviceManager.isolateManager.mainIsolateState?.isPaused, ); addAutoDisposeListener(controller.resuming); addAutoDisposeListener(controller.stackFramesWithLocation); } @override Widget build(BuildContext context) { final resuming = controller.resuming.value; final hasStackFrames = controller.stackFramesWithLocation.value.isNotEmpty; final isSystemIsolate = controller.isSystemIsolate; final canStep = serviceConnection.serviceManager.isMainIsolatePaused && !resuming && hasStackFrames && !isSystemIsolate; final isVmApp = serviceConnection.serviceManager.connectedApp?.isRunningOnDartVM ?? false; return SizedBox( height: defaultButtonHeight, child: Row( children: [ _pauseAndResumeButtons( isPaused: serviceConnection.serviceManager.isMainIsolatePaused, resuming: resuming, ), const SizedBox(width: denseSpacing), _stepButtons(canStep: canStep), const SizedBox(width: denseSpacing), BreakOnExceptionsControl(controller: controller), if (isVmApp) ...[ const SizedBox(width: denseSpacing), CodeStatisticsControls(controller: controller), ], const Expanded(child: SizedBox(width: denseSpacing)), _librariesButton(), ], ), ); } Widget _pauseAndResumeButtons({ required bool isPaused, required bool resuming, }) { final isSystemIsolate = controller.isSystemIsolate; return RoundedButtonGroup( items: [ ButtonGroupItemData( tooltip: 'Pause', icon: Codicons.debugPause, autofocus: true, // Disable when paused or selected isolate is a system isolate. onPressed: (isPaused || isSystemIsolate) ? null : () => unawaited(controller.pause()), ), ButtonGroupItemData( tooltip: 'Resume', icon: Codicons.debugContinue, // Enable while paused + not resuming and selected isolate is not // a system isolate. onPressed: ((isPaused && !resuming) && !isSystemIsolate) ? () => unawaited(controller.resume()) : null, ), ], ); } Widget _stepButtons({required bool canStep}) { return RoundedButtonGroup( items: [ ButtonGroupItemData( label: 'Step Over', icon: Codicons.debugStepOver, onPressed: canStep ? () => unawaited(controller.stepOver()) : null, ), ButtonGroupItemData( label: 'Step In', icon: Codicons.debugStepInto, onPressed: canStep ? () => unawaited(controller.stepIn()) : null, ), ButtonGroupItemData( label: 'Step Out', icon: Codicons.debugStepOut, onPressed: canStep ? () => unawaited(controller.stepOut()) : null, ), ], minScreenWidthForTextBeforeScaling: DebuggingControls.minWidthBeforeScaling, ); } Widget _librariesButton() { return ValueListenableBuilder<bool>( valueListenable: controller.codeViewController.fileExplorerVisible, builder: (context, visible, _) { return GaDevToolsButton( icon: Icons.folder_outlined, label: 'File Explorer', onPressed: controller.codeViewController.toggleLibrariesVisible, gaScreen: gac.debugger, gaSelection: visible ? gac.hideFileExplorer : gac.showFileExplorer, minScreenWidthForTextBeforeScaling: DebuggingControls.minWidthBeforeScaling, ); }, ); } } class CodeStatisticsControls extends StatelessWidget { const CodeStatisticsControls({ super.key, required this.controller, }); final DebuggerController controller; @override Widget build(BuildContext context) { return MultiValueListenableBuilder( listenables: [ controller.codeViewController.showCodeCoverage, controller.codeViewController.showProfileInformation, ], builder: (context, values, _) { final showCodeCoverage = values.first as bool; final showProfileInformation = values.second as bool; return Row( children: [ // TODO(kenz): clean up this button group when records are // available. DevToolsToggleButtonGroup( selectedStates: [showCodeCoverage, showProfileInformation], children: const [ _CodeStatsControl( tooltip: 'Show code coverage', icon: Codicons.checklist, ), _CodeStatsControl( tooltip: 'Show profiler hits', icon: Codicons.flame, ), ], onPressed: (index) { if (index == 0) { controller.codeViewController.toggleShowCodeCoverage(); } else if (index == 1) { controller.codeViewController.toggleShowProfileInformation(); } }, ), const SizedBox(width: denseSpacing), RefreshButton( iconOnly: true, tooltip: 'Refresh statistics', gaScreen: gac.debugger, gaSelection: gac.refreshStatistics, onPressed: showCodeCoverage || showProfileInformation ? () => unawaited( controller.codeViewController.refreshCodeStatistics(), ) : null, ), ], ); }, ); } } class _CodeStatsControl extends StatelessWidget { const _CodeStatsControl({ required this.icon, required this.tooltip, }); final IconData icon; final String tooltip; @override Widget build(BuildContext context) { return DevToolsTooltip( message: tooltip, child: Container( padding: const EdgeInsets.symmetric(horizontal: defaultSpacing), child: Icon( icon, size: defaultIconSize, ), ), ); } } class BreakOnExceptionsControl extends StatelessWidget { const BreakOnExceptionsControl({ Key? key, required this.controller, }) : super(key: key); final DebuggerController controller; @override Widget build(BuildContext context) { final isInSmallMode = MediaQuery.of(context).size.width < DebuggingControls.minWidthBeforeScaling; return ValueListenableBuilder<String?>( valueListenable: controller.exceptionPauseMode, builder: (BuildContext context, modeId, _) { return RoundedDropDownButton<ExceptionMode>( value: ExceptionMode.from(modeId), // Cannot set exception pause mode for system isolates. onChanged: controller.isSystemIsolate ? null : (ExceptionMode? mode) { unawaited(controller.setIsolatePauseMode(mode!.id)); }, isDense: true, items: [ for (var mode in ExceptionMode.modes) DropdownMenuItem<ExceptionMode>( value: mode, child: Text( isInSmallMode ? mode.name : mode.description, ), ), ], ); }, ); } } class ExceptionMode { ExceptionMode(this.id, this.name, this.description); static final modes = [ ExceptionMode( ExceptionPauseMode.kNone, 'Ignore exceptions', "Don't stop on exceptions", ), ExceptionMode( ExceptionPauseMode.kUnhandled, 'Uncaught exceptions', 'Stop on uncaught exceptions', ), ExceptionMode( ExceptionPauseMode.kAll, 'All exceptions', 'Stop on all exceptions', ), ]; static ExceptionMode from(String? id) { return modes.singleWhere( (mode) => mode.id == id, orElse: () => modes.first, ); } final String id; final String name; final String description; }
devtools/packages/devtools_app/lib/src/screens/debugger/controls.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/controls.dart", "repo_id": "devtools", "token_count": 3990 }
79
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'deep_links_model.dart'; const String _apiKey = 'AIzaSyCf_2E9N2AUZR-YSnZTQ72YbCNhKIskIsw'; const String _assetLinksGenerationURL = 'https://deeplinkassistant-pa.googleapis.com/android/generation/v1/assetlinks:generate?key=$_apiKey'; const String _androidDomainValidationURL = 'https://deeplinkassistant-pa.googleapis.com/android/validation/v1/domains:batchValidate?key=$_apiKey'; const postHeader = {'Content-Type': 'application/json'}; const String _packageNameKey = 'package_name'; const String _domainsKey = 'domains'; const String _errorCodeKey = 'errorCode'; const String _appLinkDomainsKey = 'app_link_domains'; const String _fingerprintsKey = 'supplemental_sha256_cert_fingerprints'; const String _validationResultKey = 'validationResult'; const String _googlePlayFingerprintsAvailabilityKey = '_googlePlayFingerprintsAvailability'; const String _googlePlayFingerprintsAvailableValue = 'FINGERPRINTS_AVAILABLE'; const String _domainNameKey = 'domainName'; const String _checkNameKey = 'checkName'; const String _failedChecksKey = 'failedChecks'; const String _generatedContentKey = 'generatedContent'; const int _domainBatchSize = 500; const Map<String, DomainError> checkNameToDomainError = { 'EXISTENCE': DomainError.existence, 'APP_IDENTIFIER': DomainError.appIdentifier, 'FINGERPRINT': DomainError.fingerprints, 'CONTENT_TYPE': DomainError.contentType, 'HTTPS_ACCESSIBILITY': DomainError.httpsAccessibility, 'NON_REDIRECT': DomainError.nonRedirect, 'HOST_FORMED_PROPERLY': DomainError.hostForm, 'OTHER_CHECKS': DomainError.other, }; class GenerateAssetLinksResult { GenerateAssetLinksResult(this.errorCode, this.generatedString); String errorCode; String generatedString; } class ValidateAndroidDomainResult { ValidateAndroidDomainResult( this.googlePlayFingerprintsAvailability, this.domainErrors, ); bool googlePlayFingerprintsAvailability; Map<String, List<DomainError>> domainErrors; } class DeepLinksServices { Future<ValidateAndroidDomainResult> validateAndroidDomain({ required List<String> domains, required String applicationId, required String? localFingerprint, }) async { final domainErrors = <String, List<DomainError>>{ for (var domain in domains) domain: <DomainError>[], }; // The request can take 1000 domains at most, make a few calls in serial with a batch of _domainBatchSize. final List<List<String>> domainsBybatch = List.generate( (domains.length / _domainBatchSize).ceil(), (index) => domains.sublist( index * _domainBatchSize, (index + 1) * _domainBatchSize > domains.length ? domains.length : (index + 1) * _domainBatchSize, ), ); late bool googlePlayFingerprintsAvailable; for (final domainList in domainsBybatch) { final response = await http.post( Uri.parse(_androidDomainValidationURL), headers: postHeader, body: jsonEncode({ _packageNameKey: applicationId, _appLinkDomainsKey: domainList, if (localFingerprint != null) _fingerprintsKey: [localFingerprint], }), ); final Map<String, dynamic> result = json.decode(response.body) as Map<String, dynamic>; final validationResult = result[_validationResultKey] as List; googlePlayFingerprintsAvailable = result[_googlePlayFingerprintsAvailabilityKey] == _googlePlayFingerprintsAvailableValue; for (final Map<String, dynamic> domainResult in validationResult) { final String domainName = domainResult[_domainNameKey]; final List? failedChecks = domainResult[_failedChecksKey]; if (failedChecks != null) { for (final Map<String, dynamic> failedCheck in failedChecks) { final checkName = failedCheck[_checkNameKey] as String; final domainError = checkNameToDomainError[checkName]; if (domainError != null) { domainErrors[domainName]!.add(domainError); } } } } } return ValidateAndroidDomainResult( googlePlayFingerprintsAvailable, domainErrors, ); } Future<GenerateAssetLinksResult> generateAssetLinks({ required String applicationId, required String domain, required String? localFingerprint, }) async { final response = await http.post( Uri.parse(_assetLinksGenerationURL), headers: postHeader, body: jsonEncode( { _packageNameKey: applicationId, _domainsKey: [domain], if (localFingerprint != null) _fingerprintsKey: [localFingerprint], }, ), ); final Map<String, dynamic> result = json.decode(response.body) as Map<String, dynamic>; final String errorCode = result[_errorCodeKey] ?? ''; String generatedContent = ''; if (result[_domainsKey] != null) { generatedContent = (((result[_domainsKey] as List).first) as Map<String, dynamic>)[_generatedContentKey]; } return GenerateAssetLinksResult(errorCode, generatedContent); } }
devtools/packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_services.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_services.dart", "repo_id": "devtools", "token_count": 1921 }
80
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import '../../../../shared/diagnostics/diagnostics_node.dart'; import '../../../../shared/diagnostics/inspector_service.dart'; import '../../../../shared/globals.dart'; import '../../../../shared/primitives/utils.dart'; import '../../inspector_controller.dart'; import '../../inspector_data_models.dart'; import 'utils.dart'; const maxRequestsPerSecond = 3.0; /// Base class for layout widgets for all widget types. abstract class LayoutExplorerWidget extends StatefulWidget { const LayoutExplorerWidget( this.inspectorController, { Key? key, }) : super(key: key); final InspectorController inspectorController; } /// Base class for state objects for layout widgets for all widget types. abstract class LayoutExplorerWidgetState<W extends LayoutExplorerWidget, L extends LayoutProperties> extends State<W> with TickerProviderStateMixin implements InspectorServiceClient { LayoutExplorerWidgetState() { _onSelectionChangedCallback = onSelectionChanged; } late AnimationController entranceController; late CurvedAnimation entranceCurve; late AnimationController changeController; late CurvedAnimation changeAnimation; L? _previousProperties; L? _properties; InspectorObjectGroupManager? objectGroupManager; AnimatedLayoutProperties<L>? get animatedProperties => _animatedProperties; AnimatedLayoutProperties<L>? _animatedProperties; L? get properties => _previousProperties ?? _animatedProperties as L? ?? _properties; RemoteDiagnosticsNode? get selectedNode => inspectorController.selectedNode.value?.diagnostic; InspectorController get inspectorController => widget.inspectorController; InspectorService? get inspectorService => serviceConnection.inspectorService as InspectorService?; late RateLimiter rateLimiter; late Future<void> Function() _onSelectionChangedCallback; Future<void> onSelectionChanged() async { if (!mounted) return; final selectedNodeLocal = selectedNode; if (selectedNodeLocal == null) return; if (!shouldDisplay(selectedNodeLocal)) return; final prevRootId = id(_properties?.node); final newRootId = id(getRoot(selectedNodeLocal)); final shouldFetch = prevRootId != newRootId; if (shouldFetch) { _dirty = false; final newSelection = await fetchLayoutProperties(); _setProperties(newSelection); } else { updateHighlighted(_properties); } } /// Whether this layout explorer can work with this kind of node. bool shouldDisplay(RemoteDiagnosticsNode node); List<LayoutProperties> get children => properties!.displayChildren; LayoutProperties? highlighted; /// Returns the root widget to show. /// /// For cases such as Flex widgets or in the future ListView widgets we may /// want to show the layout for all widgets under a root that is the parent /// of the current widget. RemoteDiagnosticsNode? getRoot(RemoteDiagnosticsNode? node); Future<L?> fetchLayoutProperties() async { objectGroupManager?.cancelNext(); final manager = objectGroupManager!; final nextObjectGroup = manager.next; final node = await nextObjectGroup.getLayoutExplorerNode( getRoot(selectedNode), ); if (node == null || node.renderObject == null) return null; if (!nextObjectGroup.disposed) { assert(manager.next == nextObjectGroup); manager.promoteNext(); } return computeLayoutProperties(node); } L computeLayoutProperties(RemoteDiagnosticsNode node); AnimatedLayoutProperties<L> computeAnimatedProperties(L nextProperties); void updateHighlighted(L? newProperties); String? id(RemoteDiagnosticsNode? node) => node?.valueRef.id; void _registerInspectorControllerService() { inspectorController.selectedNode.addListener(_onSelectionChangedCallback); inspectorService?.addClient(this); } void _unregisterInspectorControllerService() { inspectorController.selectedNode .removeListener(_onSelectionChangedCallback); inspectorService?.removeClient(this); } @override void initState() { super.initState(); rateLimiter = RateLimiter(maxRequestsPerSecond, refresh); _registerInspectorControllerService(); _initAnimationStates(); _updateObjectGroupManager(); // TODO(jacobr): put inspector controller in Controllers and // update on didChangeDependencies. _animateProperties(); } @override void didUpdateWidget(W oldWidget) { super.didUpdateWidget(oldWidget); _updateObjectGroupManager(); _animateProperties(); if (oldWidget.inspectorController != inspectorController) { _unregisterInspectorControllerService(); _registerInspectorControllerService(); } } @override void dispose() { entranceController.dispose(); changeController.dispose(); _unregisterInspectorControllerService(); super.dispose(); } void _animateProperties() { if (_animatedProperties != null) { changeController.forward(); } if (_previousProperties != null) { entranceController.reverse(); } else { entranceController.forward(); } } // update selected widget in the device without triggering selection listener event. // this is required so that we don't change focus // when tapping on a child is also Flex-based widget. Future<void> setSelectionInspector(RemoteDiagnosticsNode node) async { final service = node.objectGroupApi; if (service != null && service is ObjectGroup) { await service.setSelectionInspector(node.valueRef, false); } } // update selected widget and trigger selection listener event to change focus. void refreshSelection(RemoteDiagnosticsNode node) { inspectorController.refreshSelection(node, node, true); } Future<void> onTap(LayoutProperties properties) async { setState(() => highlighted = properties); await setSelectionInspector(properties.node); } void onDoubleTap(LayoutProperties properties) { refreshSelection(properties.node); } Future<void> refresh() async { if (!_dirty) return; _dirty = false; final updatedProperties = await fetchLayoutProperties(); if (updatedProperties != null) { _changeProperties(updatedProperties); } } void _changeProperties(L nextProperties) { if (!mounted) return; updateHighlighted(nextProperties); setState(() { _animatedProperties = computeAnimatedProperties(nextProperties); changeController.forward(from: 0.0); }); } void _setProperties(L? newProperties) { if (!mounted) return; updateHighlighted(newProperties); if (_properties == newProperties) { return; } setState(() { _previousProperties ??= _properties; _properties = newProperties; }); _animateProperties(); } void _initAnimationStates() { entranceController = longAnimationController( this, )..addStatusListener((status) { if (status == AnimationStatus.dismissed) { setState(() { _previousProperties = null; entranceController.forward(); }); } }); entranceCurve = defaultCurvedAnimation(entranceController); changeController = longAnimationController(this) ..addStatusListener((status) { if (status == AnimationStatus.completed) { setState(() { _properties = _animatedProperties!.end; _animatedProperties = null; changeController.value = 0.0; }); } }); changeAnimation = defaultCurvedAnimation(changeController); } void _updateObjectGroupManager() { final service = serviceConnection.inspectorService; if (service != objectGroupManager?.inspectorService) { objectGroupManager = InspectorObjectGroupManager( service as InspectorService, 'flex-layout', ); } unawaited(onSelectionChanged()); } bool _dirty = false; @override void onFlutterFrame() { if (!mounted) return; if (_dirty) { rateLimiter.scheduleRequest(); } } // TODO(albertusangga): Investigate why onForceRefresh is not getting called. @override Future<void> onForceRefresh() async { final properties = await fetchLayoutProperties(); if (properties != null) { _setProperties(properties); } } /// Currently this is not working so we should listen to controller selection event instead. @override Future<void> onInspectorSelectionChanged() async {} /// Register callback to be executed once Flutter frame is ready. void markAsDirty() { _dirty = true; } }
devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/layout_explorer_widget.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/layout_explorer_widget.dart", "repo_id": "devtools", "token_count": 2875 }
81
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_shared/devtools_shared.dart'; import 'package:flutter/foundation.dart'; import 'package:vm_service/vm_service.dart'; import '../../../../shared/globals.dart'; import '../../../../shared/memory/class_name.dart'; import '../../../../shared/utils.dart'; import '../../panes/chart/primitives.dart'; import '../../panes/diff/controller/diff_pane_controller.dart'; import '../../panes/profile/profile_pane_controller.dart'; import '../../panes/tracing/tracing_pane_controller.dart'; import '../../shared/heap/model.dart'; import '../../shared/primitives/memory_timeline.dart'; import 'memory_protocol.dart'; class MemoryFeatureControllers { /// [diffPaneController] is passed for testability. MemoryFeatureControllers( DiffPaneController? diffPaneController, ProfilePaneController? profilePaneController, ) { memoryTimeline = MemoryTimeline(); diff = diffPaneController ?? DiffPaneController(SnapshotTakerRuntime(memoryTimeline)); profile = profilePaneController ?? ProfilePaneController(); } late DiffPaneController diff; late ProfilePaneController profile; late MemoryTimeline memoryTimeline; TracingPaneController tracing = TracingPaneController(); void reset() { diff.dispose(); diff = DiffPaneController(SnapshotTakerRuntime(memoryTimeline)); profile.dispose(); profile = ProfilePaneController(); tracing.dispose(); tracing = TracingPaneController(); memoryTimeline.reset(); } void dispose() { tracing.dispose(); diff.dispose(); profile.dispose(); } } /// This class contains the business logic for memory screen, for a connected /// application. /// /// This class must not have direct dependencies on web-only libraries. This /// allows tests of the complicated logic in this class to run on the VM. /// /// The controller should be recreated for every new connection. class MemoryController extends DisposableController with AutoDisposeControllerMixin { MemoryController({ DiffPaneController? diffPaneController, ProfilePaneController? profilePaneController, }) { controllers = MemoryFeatureControllers( diffPaneController, profilePaneController, ); } /// Sub-controllers of memory controller. late final MemoryFeatureControllers controllers; /// Index of the selected feature tab. /// /// This value is used to set the initial tab selection of the /// [MemoryTabView]. This widget will be disposed and re-initialized on /// DevTools screen changes, so we must store this value in the controller /// instead of the widget state. int selectedFeatureTabIndex = 0; HeapSample? _selectedDartSample; HeapSample? _selectedAndroidSample; HeapSample? getSelectedSample(ChartType type) => type == ChartType.dartHeaps ? _selectedDartSample : _selectedAndroidSample; void setSelectedSample(ChartType type, HeapSample sample) { if (type == ChartType.dartHeaps) { _selectedDartSample = sample; } else { _selectedAndroidSample = sample; } } static const liveFeed = 'Live Feed'; ValueListenable get refreshCharts => _refreshCharts; final _refreshCharts = ValueNotifier<int>(0); /// Default is to display default tick width based on width of chart of the collected /// data in the chart. final _displayIntervalNotifier = ValueNotifier<ChartInterval>(ChartInterval.theDefault); set displayInterval(ChartInterval interval) { _displayIntervalNotifier.value = interval; } ChartInterval get displayInterval => _displayIntervalNotifier.value; final _paused = ValueNotifier<bool>(false); ValueListenable<bool> get paused => _paused; void pauseLiveFeed() { _paused.value = true; } void resumeLiveFeed() { _paused.value = false; } bool get isPaused => _paused.value; final isAndroidChartVisibleNotifier = ValueNotifier<bool>(false); String? get _isolateId => serviceConnection.serviceManager.isolateManager.selectedIsolate.value?.id; final StreamController<MemoryTracker?> _memoryTrackerController = StreamController<MemoryTracker?>.broadcast(); Stream<MemoryTracker?> get onMemory => _memoryTrackerController.stream; MemoryTracker? _memoryTracker; MemoryTracker? get memoryTracker => _memoryTracker; bool get hasStarted => _memoryTracker != null; bool hasStopped = false; void _handleIsolateChanged() { // TODO(terry): Need an event on the controller for this too? } void _handleConnectionStart() { if (_memoryTracker == null) { _memoryTracker = MemoryTracker(this); _memoryTracker!.start(); } // Log Flutter extension events. // Note: We do not need to listen to event history here because we do not // have matching historical data about total memory usage. autoDisposeStreamSubscription( serviceConnection.serviceManager.service!.onExtensionEvent .listen((Event event) { var extensionEventKind = event.extensionKind; String? customEventKind; if (MemoryTimeline.isCustomEvent(event.extensionKind!)) { extensionEventKind = MemoryTimeline.devToolsExtensionEvent; customEventKind = MemoryTimeline.customEventName(event.extensionKind!); } final jsonData = event.extensionData!.data.cast<String, Object>(); // TODO(terry): Display events enabled in a settings page for now only these events. switch (extensionEventKind) { case 'Flutter.ImageSizesForFrame': controllers.memoryTimeline.addExtensionEvent( event.timestamp, event.extensionKind, jsonData, ); break; case MemoryTimeline.devToolsExtensionEvent: controllers.memoryTimeline.addExtensionEvent( event.timestamp, MemoryTimeline.customDevToolsEvent, jsonData, customEventName: customEventKind, ); break; } }), ); autoDisposeStreamSubscription( _memoryTracker!.onChange.listen((_) { _memoryTrackerController.add(_memoryTracker); }), ); autoDisposeStreamSubscription( _memoryTracker!.onChange.listen((_) { _memoryTrackerController.add(_memoryTracker); }), ); // TODO(terry): Used to detect stream being closed from the // memoryController dispose method. Needed when a HOT RELOAD // will call dispose however, initState doesn't seem // to happen David is working on scaffolding. _memoryTrackerController.stream.listen( (_) {}, onDone: () { // Stop polling and reset memoryTracker. _memoryTracker?.stop(); _memoryTracker = null; }, ); _updateAndroidChartVisibility(); addAutoDisposeListener( preferences.memory.androidCollectionEnabled, _updateAndroidChartVisibility, ); } /// This flag will be needed for offline mode implementation. bool offline = false; void _updateAndroidChartVisibility() { final bool isConnectedToAndroidAndAndroidEnabled = isConnectedDeviceAndroid && preferences.memory.androidCollectionEnabled.value; isAndroidChartVisibleNotifier.value = isConnectedToAndroidAndAndroidEnabled; } void _handleConnectionStop() { _memoryTracker?.stop(); _memoryTrackerController.add(_memoryTracker); controllers.reset(); hasStopped = true; } void startTimeline() { addAutoDisposeListener( serviceConnection.serviceManager.isolateManager.selectedIsolate, _handleIsolateChanged, ); addAutoDisposeListener(serviceConnection.serviceManager.connectedState, () { if (serviceConnection.serviceManager.connectedState.value.connected) { _handleConnectionStart(); } else { _handleConnectionStop(); } }); if (serviceConnection.serviceManager.connectedAppInitialized) { _handleConnectionStart(); } } void stopTimeLine() { _memoryTracker?.stop(); } bool get isConnectedDeviceAndroid { return serviceConnection.serviceManager.vm?.operatingSystem == 'android'; } bool get isGcing => _gcing; bool _gcing = false; Future<void> gc() async { _gcing = true; try { await serviceConnection.serviceManager.service!.getAllocationProfile( _isolateId!, gc: true, ); notificationService.push('Successfully garbage collected.'); } finally { _gcing = false; } } /// Detect stale isolates (sentineled), may happen after a hot restart. Future<bool> isIsolateLive(String isolateId) async { try { final service = serviceConnection.serviceManager.service!; await service.getIsolate(isolateId); } catch (e) { if (e is SentinelException) { final SentinelException sentinelErr = e; final message = 'isIsolateLive: Isolate sentinel $isolateId ' '${sentinelErr.sentinel.kind}'; debugLogger(message); return false; } } return true; } @override void dispose() { super.dispose(); _displayIntervalNotifier.dispose(); unawaited(_memoryTrackerController.close()); _memoryTracker?.dispose(); controllers.dispose(); HeapClassName.dispose(); } }
devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_controller.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_controller.dart", "repo_id": "devtools", "token_count": 3268 }
82
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../framework/connected/memory_controller.dart'; import 'primary_controls.dart'; import 'secondary_controls.dart'; class MemoryControlPane extends StatelessWidget { const MemoryControlPane({ Key? key, required this.controller, }) : super(key: key); final MemoryController controller; @override Widget build(BuildContext context) { return Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ const PrimaryControls(), const Spacer(), SecondaryControls(controller: controller), ], ); } }
devtools/packages/devtools_app/lib/src/screens/memory/panes/control/control_pane.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/control/control_pane.dart", "repo_id": "devtools", "token_count": 259 }
83
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../../../../shared/memory/adapted_heap_data.dart'; import '../../../../../shared/memory/class_name.dart'; import '../../../../../shared/memory/classes.dart'; import '../../../shared/heap/sampler.dart'; import '../../../shared/primitives/instance_context_menu.dart'; /// Right aligned table cell, shat shows number of instances. /// /// If the row is selected and count of instances is positive, the table cell /// includes a "more" icon button with a context menu for the instance set. class HeapInstanceTableCell extends StatelessWidget { HeapInstanceTableCell( ObjectSet objects, HeapDataCallback heap, HeapClassName heapClass, { super.key, required bool isSelected, this.liveItemsEnabled = true, }) : _sampleObtainer = _shouldShowMenu(isSelected, objects) ? HeapClassSampler(heapClass, objects, heap()) : null, _count = objects.instanceCount; static bool _shouldShowMenu(bool isSelected, ObjectSet objects) => isSelected && objects.instanceCount > 0; final HeapClassSampler? _sampleObtainer; final int _count; final bool liveItemsEnabled; @override Widget build(BuildContext context) { return InstanceViewWithContextMenu( count: _count, menuBuilder: () => _buildHeapInstancesMenu( sampler: _sampleObtainer, liveItemsEnabled: liveItemsEnabled, ), ); } } List<Widget> _buildHeapInstancesMenu({ required HeapClassSampler? sampler, required bool liveItemsEnabled, }) { if (sampler == null) return []; return [ _StoreAsOneVariableMenu(sampler, liveItemsEnabled: liveItemsEnabled), _StoreAllAsVariableMenu(sampler, liveItemsEnabled: liveItemsEnabled), ]; } class _StoreAllAsVariableMenu extends StatelessWidget { const _StoreAllAsVariableMenu( this.sampler, { required this.liveItemsEnabled, }); final HeapClassSampler sampler; final bool liveItemsEnabled; @override Widget build(BuildContext context) { final enabled = sampler.isEvalEnabled; const menuText = 'Store all class instances currently alive in application'; if (!enabled) { return const MenuItemButton(child: Text(menuText)); } MenuItemButton item( String title, { required bool subclasses, required bool implementers, }) => MenuItemButton( onPressed: () async => await sampler.allLiveToConsole( includeImplementers: implementers, includeSubclasses: subclasses, ), child: Text(title), ); return SubmenuButton( menuChildren: <Widget>[ item('Direct instances', implementers: false, subclasses: false), item('Direct and subclasses', implementers: false, subclasses: false), item('Direct and implementers', implementers: false, subclasses: false), item( 'Direct, subclasses, and implementers', implementers: false, subclasses: false, ), ], child: const Text(menuText), ); } } class _StoreAsOneVariableMenu extends StatelessWidget { const _StoreAsOneVariableMenu( this.sampler, { required this.liveItemsEnabled, }); final HeapClassSampler sampler; final bool liveItemsEnabled; @override Widget build(BuildContext context) { final enabled = sampler.isEvalEnabled; const menuText = 'Store one instance from the set as a console variable'; if (!enabled) { return const MenuItemButton(child: Text(menuText)); } return SubmenuButton( menuChildren: <Widget>[ MenuItemButton( onPressed: sampler.oneStaticToConsole, child: const Text('Any'), ), MenuItemButton( onPressed: liveItemsEnabled ? sampler.oneLiveStaticToConsole : null, child: const Text('Any, not garbage collected'), ), ], child: const Text(menuText), ); } }
devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/instances.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/instances.dart", "repo_id": "devtools", "token_count": 1477 }
84
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../../../../shared/memory/adapted_heap_data.dart'; import '../../../../shared/memory/class_name.dart'; import '../../../../shared/memory/classes.dart'; import '../../../../shared/memory/retainers.dart'; import '../../../../shared/memory/retaining_path.dart'; import '../../../../shared/memory/simple_items.dart'; import '../../../../shared/primitives/utils.dart'; import 'class_filter.dart'; class AdaptedHeap { AdaptedHeap._(this.data); static Future<AdaptedHeap> create(AdaptedHeapData data) async { final result = AdaptedHeap._(data); await result._initialize(); return result; } final AdaptedHeapData data; late final MemoryFootprint footprint; SingleHeapClasses get classes => _classes; late final SingleHeapClasses _classes; Future<void> _initialize() async { if (!data.allFieldsCalculated) await calculateHeap(data); footprint = await _footprint(data); _classes = await _heapStatistics(); } static Future<MemoryFootprint> _footprint(AdaptedHeapData data) async { return MemoryFootprint( dart: data.totalDartSize, reachable: data.totalReachableSize, ); } final _uiReleaser = UiReleaser(); Future<SingleHeapClasses> _heapStatistics() async { assert(data.allFieldsCalculated); final result = <HeapClassName, SingleClassStats>{}; for (var i in Iterable<int>.generate(data.objects.length)) { if (_uiReleaser.step()) await _uiReleaser.releaseUi(); final object = data.objects[i]; final className = object.heapClass; // We do not show objects that will be garbage collected soon or are // native. if (object.retainedSize == null || className.isSentinel) continue; final singleHeapClass = result.putIfAbsent( className, () => SingleClassStats(heapClass: className), ); singleHeapClass.countInstance(data, i); } return SingleHeapClasses(result)..seal(); } } abstract class HeapClasses<T extends ClassData> with Sealable { List<T> get classStatsList; } mixin FilterableHeapClasses<T extends ClassData> on HeapClasses<T> { ClassFilter? _appliedFilter; List<T>? _filtered; List<T> filtered(ClassFilter newFilter, String? rootPackage) { _filtered = ClassFilter.filter( oldFilter: _appliedFilter, oldFiltered: _filtered, newFilter: newFilter, original: classStatsList, extractClass: (s) => s.heapClass, rootPackage: rootPackage, ); _appliedFilter = newFilter; return _filtered!; } } /// Set of heap class statistical information for single heap (not comparison between two heaps). class SingleHeapClasses extends HeapClasses<SingleClassStats> with FilterableHeapClasses<SingleClassStats> { SingleHeapClasses(this.classesByName); /// Maps full class name to class. final Map<HeapClassName, SingleClassStats> classesByName; late final List<SingleClassStats> classes = classesByName.values.toList(growable: false); @override void seal() { super.seal(); for (var stats in classes) { stats.seal(); } } @override List<SingleClassStats> get classStatsList => classes; } typedef StatsByPath = Map<PathFromRoot, ObjectSetStats>; typedef StatsByPathEntry = MapEntry<PathFromRoot, ObjectSetStats>; abstract class ClassData with Sealable { ClassData({required this.statsByPath, required this.heapClass}); final StatsByPath statsByPath; late final List<StatsByPathEntry> statsByPathEntries = _getEntries(); List<StatsByPathEntry> _getEntries() { assert(isSealed); return statsByPath.entries.toList(growable: false); } final HeapClassName heapClass; } /// Statistics for a class about a single heap. class SingleClassStats extends ClassData { SingleClassStats({required super.heapClass}) : objects = ObjectSet(), super(statsByPath: <PathFromRoot, ObjectSetStats>{}); final ObjectSet objects; void countInstance(AdaptedHeapData data, int objectIndex) { assert(!isSealed); final object = data.objects[objectIndex]; assert(object.heapClass.fullName == heapClass.fullName); final path = data.retainingPath(objectIndex); objects.countInstance( object, excludeFromRetained: path?.isRetainedBySameClass ?? false, ); if (path == null) return; final objectsForPath = statsByPath.putIfAbsent( PathFromRoot(path), () => ObjectSet(), ); objectsForPath.countInstance(object, excludeFromRetained: false); } }
devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/heap.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/heap.dart", "repo_id": "devtools", "token_count": 1611 }
85
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:vm_service/vm_service.dart'; import '../../shared/globals.dart'; import '../../shared/primitives/utils.dart'; import 'network_controller.dart'; class NetworkService { NetworkService(this.networkController); final NetworkController networkController; /// Updates the last Socket data refresh time to the current time. /// /// If [alreadyRecordingSocketData] is true, it's unclear when the last /// refresh time would have occurred, so the refresh time is not updated. /// Otherwise, [NetworkController.lastSocketDataRefreshMicros] is updated to /// the current timeline timestamp. /// /// Returns the current timeline timestamp. Future<int> updateLastSocketDataRefreshTime({ bool alreadyRecordingSocketData = false, }) async { // Set the current timeline time as the time of the last refresh. final timestampObj = await serviceConnection.serviceManager.service!.getVMTimelineMicros(); final timestamp = timestampObj.timestamp!; if (!alreadyRecordingSocketData) { // Only include Socket requests issued after the current time. networkController.lastSocketDataRefreshMicros = timestamp; } return timestamp; } /// Updates the last HTTP data refresh time to the current time. /// /// If [alreadyRecordingHttp] is true it's unclear when the last refresh time /// would have occurred, so the refresh time is not updated. Otherwise, /// [NetworkController.lastHttpDataRefreshTime] is updated to the current /// time. void updateLastHttpDataRefreshTime({ bool alreadyRecordingHttp = false, }) { if (!alreadyRecordingHttp) { networkController.lastHttpDataRefreshTime = DateTime.now(); } } /// Force refreshes the HTTP requests logged to the timeline as well as any /// recorded Socket traffic. Future<void> refreshNetworkData() async { if (serviceConnection.serviceManager.service == null) return; final timestampObj = await serviceConnection.serviceManager.service!.getVMTimelineMicros(); final timestamp = timestampObj.timestamp!; final sockets = await _refreshSockets(); networkController.lastSocketDataRefreshMicros = timestamp; List<HttpProfileRequest>? httpRequests; httpRequests = await _refreshHttpProfile(); networkController.lastHttpDataRefreshTime = DateTime.now(); networkController.processNetworkTraffic( sockets: sockets, httpRequests: httpRequests, ); } Future<List<HttpProfileRequest>> _refreshHttpProfile() async { final service = serviceConnection.serviceManager.service; if (service == null) return []; final requests = <HttpProfileRequest>[]; await service.forEachIsolate((isolate) async { final request = await service.getHttpProfileWrapper( isolate.id!, updatedSince: networkController.lastHttpDataRefreshTime, ); requests.addAll(request.requests); }); return requests; } Future<void> _clearHttpProfile() async { final service = serviceConnection.serviceManager.service; if (service == null) return; await service.forEachIsolate((isolate) async { final future = service.clearHttpProfileWrapper(isolate.id!); // The above call won't complete immediately if the isolate is paused, so // give up waiting after 500ms. However, the call will complete eventually // if the isolate is eventually resumed. // TODO(jacobr): detect whether the isolate is paused using the vm // service and handle this case gracefully rather than timing out. await timeout(future, 500); }); } Future<List<SocketStatistic>> _refreshSockets() async { final service = serviceConnection.serviceManager.service; if (service == null) return []; final sockets = <SocketStatistic>[]; await service.forEachIsolate((isolate) async { final socketProfile = await service.getSocketProfileWrapper(isolate.id!); sockets.addAll(socketProfile.sockets); }); // TODO(https://github.com/flutter/devtools/issues/5057): // Filter lastrefreshMicros inside [service.getSocketProfile] instead. return sockets .where( (element) => element.startTime > networkController.lastSocketDataRefreshMicros || (element.endTime ?? 0) > networkController.lastSocketDataRefreshMicros || (element.lastReadTime ?? 0) > networkController.lastSocketDataRefreshMicros || (element.lastWriteTime ?? 0) > networkController.lastSocketDataRefreshMicros, ) .toList(); } Future<void> _clearSocketProfile() async { final service = serviceConnection.serviceManager.service; if (service == null) return; await service.forEachIsolate((isolate) async { final isolateId = isolate.id!; final socketProfilingAvailable = await service.isSocketProfilingAvailableWrapper(isolateId); if (socketProfilingAvailable) { final future = service.clearSocketProfileWrapper(isolateId); // The above call won't complete immediately if the isolate is paused, so // give up waiting after 500ms. However, the call will complete eventually // if the isolate is eventually resumed. // TODO(jacobr): detect whether the isolate is paused using the vm // service and handle this case gracefully rather than timing out. await timeout(future, 500); } }); } /// Enables or disables Socket profiling for all isolates. Future<void> toggleSocketProfiling(bool state) async { final service = serviceConnection.serviceManager.service; if (service == null) return; await service.forEachIsolate((isolate) async { final isolateId = isolate.id!; final socketProfilingAvailable = await service.isSocketProfilingAvailableWrapper(isolateId); if (socketProfilingAvailable) { final future = service.socketProfilingEnabledWrapper(isolateId, state); // The above call won't complete immediately if the isolate is paused, so // give up waiting after 500ms. However, the call will complete eventually // if the isolate is eventually resumed. // TODO(jacobr): detect whether the isolate is paused using the vm // service and handle this case gracefully rather than timing out. await timeout(future, 500); } }); } Future<void> clearData() async { await updateLastSocketDataRefreshTime(); updateLastHttpDataRefreshTime(); await _clearSocketProfile(); await _clearHttpProfile(); } }
devtools/packages/devtools_app/lib/src/screens/network/network_service.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/network/network_service.dart", "repo_id": "devtools", "token_count": 2196 }
86
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:logging/logging.dart'; import '../../../../shared/globals.dart'; import '../../performance_controller.dart'; import '../../performance_model.dart'; import '../flutter_frames/flutter_frame_model.dart'; import 'raster_stats_model.dart'; final _log = Logger('raster_stats_controller'); class RasterStatsController extends PerformanceFeatureController { RasterStatsController(super.performanceController); /// The active raster stats for the view. ValueListenable<RasterStats?> get rasterStats => _rasterStats; final _rasterStats = ValueNotifier<RasterStats?>(null); ValueListenable<bool> get loadingSnapshot => _loadingSnapshot; final _loadingSnapshot = ValueNotifier<bool>(false); final selectedSnapshot = ValueNotifier<LayerSnapshot?>(null); void selectSnapshot(LayerSnapshot? snapshot) { assert(_rasterStats.value != null); _rasterStats.value!.selectedSnapshot = snapshot; selectedSnapshot.value = snapshot; } Future<void> collectRasterStats() async { clearData(); _loadingSnapshot.value = true; try { final response = await serviceConnection.renderFrameWithRasterStats; final json = response?.json ?? <String, Object?>{}; final rasterStats = RasterStats.parse(json); setData(rasterStats); } catch (e, st) { _log.shout('Error collecting raster stats: $e', e, st); notificationService.pushError( 'Error collecting raster stats: $e', stackTrace: st.toString(), ); clearData(); } finally { _loadingSnapshot.value = false; } } void setData(RasterStats? stats) { _rasterStats.value = stats; selectedSnapshot.value = stats?.selectedSnapshot; } @override void handleSelectedFrame(FlutterFrame frame) { // TODO(kenz): show raster stats for the selected frame, if available. } @override Future<void> setOfflineData(OfflinePerformanceData offlineData) async { final offlineRasterStats = offlineData.rasterStats; if (offlineRasterStats != null) { setData(offlineRasterStats); } } @override void clearData() { setData(null); } @override Future<void> init() { return Future.value(); } @override void onBecomingActive() {} }
devtools/packages/devtools_app/lib/src/screens/performance/panes/raster_stats/raster_stats_controller.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/raster_stats/raster_stats_controller.dart", "repo_id": "devtools", "token_count": 824 }
87
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/material.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; import '../../shared/analytics/analytics.dart' as ga; import '../../shared/analytics/constants.dart' as gac; import '../../shared/banner_messages.dart'; import '../../shared/common_widgets.dart'; import '../../shared/config_specific/import_export/import_export.dart'; import '../../shared/file_import.dart'; import '../../shared/globals.dart'; import '../../shared/screen.dart'; import '../../shared/utils.dart'; import 'panes/controls/performance_controls.dart'; import 'panes/flutter_frames/flutter_frames_chart.dart'; import 'performance_controller.dart'; import 'tabbed_performance_view.dart'; // TODO(kenz): handle small screen widths better by using Wrap instead of Row // where applicable. class PerformanceScreen extends Screen { PerformanceScreen() : super.fromMetaData(ScreenMetaData.performance); static final id = ScreenMetaData.performance.id; @override String get docPageId => id; @override Widget buildScreenBody(BuildContext context) { if (serviceConnection.serviceManager.connectedApp?.isDartWebAppNow ?? false) { return const WebPerformanceScreenBody(); } return const PerformanceScreenBody(); } @override Widget buildDisconnectedScreenBody(BuildContext context) { return const DisconnectedPerformanceScreenBody(); } } class PerformanceScreenBody extends StatefulWidget { const PerformanceScreenBody({super.key}); @override PerformanceScreenBodyState createState() => PerformanceScreenBodyState(); } class PerformanceScreenBodyState extends State<PerformanceScreenBody> with AutoDisposeMixin, ProvidedControllerMixin<PerformanceController, PerformanceScreenBody> { @override void initState() { super.initState(); ga.screen(PerformanceScreen.id); addAutoDisposeListener(offlineController.offlineMode); } @override void didChangeDependencies() { super.didChangeDependencies(); maybePushDebugModePerformanceMessage(context, PerformanceScreen.id); if (!initController()) return; cancelListeners(); addAutoDisposeListener(controller.loadingOfflineData); addAutoDisposeListener(controller.flutterFramesController.selectedFrame); } @override Widget build(BuildContext context) { return FutureBuilder( future: controller.initialized, builder: (context, snapshot) { if (snapshot.connectionState != ConnectionState.done || controller.loadingOfflineData.value) { return Container( color: Theme.of(context).scaffoldBackgroundColor, child: const CenteredCircularProgressIndicator(), ); } final offlineMode = offlineController.offlineMode.value; final isOfflineFlutterApp = offlineMode && controller.offlinePerformanceData != null && controller.offlinePerformanceData!.frames.isNotEmpty; return Column( children: [ PerformanceControls( controller: controller, onClear: () => setState(() {}), ), const SizedBox(height: intermediateSpacing), if (isOfflineFlutterApp || (!offlineMode && serviceConnection .serviceManager.connectedApp!.isFlutterAppNow!)) FlutterFramesChart( controller.flutterFramesController, offlineMode: offlineMode, impellerEnabled: controller.impellerEnabled, ), const Expanded(child: TabbedPerformanceView()), ], ); }, ); } } class WebPerformanceScreenBody extends StatelessWidget { const WebPerformanceScreenBody({super.key}); @override Widget build(BuildContext context) { final isFlutterWebApp = serviceConnection.serviceManager.connectedApp?.isFlutterWebAppNow ?? false; return Markdown( data: isFlutterWebApp ? flutterWebInstructionsMd : dartWebInstructionsMd, onTapLink: (_, url, __) { if (url != null) { unawaited( launchUrl( Uri.parse(url), ), ); } }, ); } } class DisconnectedPerformanceScreenBody extends StatelessWidget { const DisconnectedPerformanceScreenBody({super.key}); static const importInstructions = 'Open a performance data file that was previously saved from DevTools.'; @override Widget build(BuildContext context) { return FileImportContainer( instructions: importInstructions, actionText: 'Load data', gaScreen: gac.appSize, gaSelectionImport: gac.PerformanceEvents.openDataFile.name, gaSelectionAction: gac.PerformanceEvents.loadDataFromFile.name, onAction: (jsonFile) { Provider.of<ImportController>(context, listen: false) .importData(jsonFile, expectedScreenId: PerformanceScreen.id); }, ); } } const timelineLink = 'https://api.flutter.dev/flutter/dart-developer/Timeline-class.html'; const timelineTaskLink = 'https://api.flutter.dev/flutter/dart-developer/TimelineTask-class.html'; const debugBuildsLink = 'https://api.flutter.dev/flutter/widgets/debugProfileBuildsEnabled.html'; const debugUserBuildsLink = 'https://api.flutter.dev/flutter/widgets/debugProfileBuildsEnabledUserWidgets.html'; const debugLayoutsLink = 'https://api.flutter.dev/flutter/rendering/debugProfileLayoutsEnabled.html'; const debugPaintsLink = 'https://api.flutter.dev/flutter/rendering/debugProfilePaintsEnabled.html'; const profileModeLink = 'https://docs.flutter.dev/testing/build-modes#profile'; const performancePanelLink = 'https://developer.chrome.com/docs/devtools/performance'; const flutterWebInstructionsMd = ''' ## How to use Chrome DevTools for performance profiling The Flutter framework emits timeline events as it works to build frames, draw scenes, and track other activity such as garbage collections. These events are exposed in the Chrome DevTools performance panel for debugging. You can also emit your own timeline events using the `dart:developer` [Timeline]($timelineLink) and [TimelineTask]($timelineTaskLink) APIs for further performance analysis. ### Optional flags to enhance tracing - [debugProfileBuildsEnabled]($debugBuildsLink): Adds Timeline events for every Widget built. - [debugProfileBuildsEnabledUserWidgets]($debugUserBuildsLink): Adds Timeline events for every user-created Widget built. - [debugProfileLayoutsEnabled]($debugLayoutsLink): Adds Timeline events for every RenderObject layout. - [debugProfilePaintsEnabled]($debugPaintsLink): Adds Timeline events for every RenderObject painted. ### Instructions 1. *[Optional]* Set any desired tracing flags to true from your app's main method. 2. Run your Flutter web app in [profile mode]($profileModeLink). 3. Open up the [Chrome DevTools' Performance panel]($performancePanelLink) for your application, and start recording to capture timeline events. '''; const dartWebInstructionsMd = ''' ## How to use Chrome DevTools for performance profiling Any events emitted using the `dart:developer` [Timeline]($timelineLink) and [TimelineTask]($timelineTaskLink) APIs are exposed in the Chrome DevTools performance panel. Open up the [Chrome DevTools' Performance panel]($performancePanelLink) for your application, and start recording to capture timeline events. ''';
devtools/packages/devtools_app/lib/src/screens/performance/performance_screen.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/performance/performance_screen.dart", "repo_id": "devtools", "token_count": 2657 }
88
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../../shared/profiler_utils.dart'; import '../../../shared/table/table.dart'; import '../../../shared/table/table_data.dart'; import '../cpu_profile_model.dart'; class SelfTimeColumn extends TimeAndPercentageColumn<CpuStackFrame> { SelfTimeColumn({ String? titleTooltip, RichTooltipBuilder<CpuStackFrame>? dataTooltipProvider, }) : super( title: 'Self Time', titleTooltip: titleTooltip, timeProvider: (stackFrame) => stackFrame.selfTime, percentAsDoubleProvider: (stackFrame) => stackFrame.selfTimeRatio, richTooltipProvider: dataTooltipProvider, secondaryCompare: (stackFrame) => stackFrame.name, ); } class TotalTimeColumn extends TimeAndPercentageColumn<CpuStackFrame> { TotalTimeColumn({ String? titleTooltip, RichTooltipBuilder<CpuStackFrame>? dataTooltipProvider, }) : super( title: 'Total Time', titleTooltip: titleTooltip, timeProvider: (stackFrame) => stackFrame.totalTime, percentAsDoubleProvider: (stackFrame) => stackFrame.totalTimeRatio, richTooltipProvider: dataTooltipProvider, secondaryCompare: (stackFrame) => stackFrame.name, ); } class MethodAndSourceColumn extends TreeColumnData<CpuStackFrame> implements ColumnRenderer<CpuStackFrame> { MethodAndSourceColumn() : super('Method'); @override String getValue(CpuStackFrame dataObject) => dataObject.name; @override String getDisplayValue(CpuStackFrame dataObject) { if (dataObject.packageUriWithSourceLine.isNotEmpty) { return '${dataObject.name}' '${MethodAndSourceDisplay.separator}' '(${dataObject.packageUriWithSourceLine})'; } return dataObject.name; } @override bool get supportsSorting => true; @override Widget? build( BuildContext context, CpuStackFrame data, { bool isRowSelected = false, bool isRowHovered = false, VoidCallback? onPressed, }) { return MethodAndSourceDisplay( methodName: data.name, packageUri: data.packageUri, sourceLine: data.sourceLine, ); } }
devtools/packages/devtools_app/lib/src/screens/profiler/panes/cpu_profile_columns.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/panes/cpu_profile_columns.dart", "repo_id": "devtools", "token_count": 855 }
89
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'provider_nodes.dart'; const _tilePadding = EdgeInsets.only( left: defaultSpacing, right: densePadding, top: densePadding, bottom: densePadding, ); final AutoDisposeStateNotifierProvider<StateController<String?>, String?> selectedProviderIdProvider = AutoDisposeStateNotifierProvider<StateController<String?>, String?>( (ref) { final controller = StateController<String?>(null); ref.listen<AsyncValue<List<ProviderNode>>>( sortedProviderNodesProvider, (prev, value) { final nodes = value.asData?.value; if (nodes == null) return; if (controller.state == null) { if (nodes.isNotEmpty) controller.state = nodes.first.id; return; } if (nodes.isEmpty) { controller.state = null; } /// The previously selected provider was unmounted else if (!nodes.any((node) => node.id == controller.state)) { controller.state = nodes.first.id; } }, fireImmediately: true, ); return controller; }, name: 'selectedProviderIdProvider', ); class ProviderList extends ConsumerStatefulWidget { const ProviderList({Key? key}) : super(key: key); @override ConsumerState<ConsumerStatefulWidget> createState() => _ProviderListState(); } class _ProviderListState extends ConsumerState<ProviderList> { final scrollController = ScrollController(); @override void dispose() { scrollController.dispose(); super.dispose(); } @override Widget build(BuildContext context) { final nodes = ref.watch(sortedProviderNodesProvider); return nodes.when( loading: () => const Center(child: CircularProgressIndicator()), error: (err, stack) => const Padding( padding: _tilePadding, child: Text('<unknown error>'), ), data: (nodes) { return Scrollbar( controller: scrollController, thumbVisibility: true, child: ListView.builder( primary: false, controller: scrollController, itemCount: nodes.length, itemBuilder: (context, index) { final node = nodes[index]; return ProviderNodeItem( key: Key('provider-${node.id}'), node: node, ); }, ), ); }, ); } } class ProviderNodeItem extends ConsumerWidget { const ProviderNodeItem({ Key? key, required this.node, }) : super(key: key); final ProviderNode node; @override Widget build(BuildContext context, WidgetRef ref) { final isSelected = ref.watch(selectedProviderIdProvider) == node.id; final colorScheme = Theme.of(context).colorScheme; final backgroundColor = isSelected ? colorScheme.selectedRowBackgroundColor : null; return GestureDetector( behavior: HitTestBehavior.opaque, onTap: () { ref.read(selectedProviderIdProvider.notifier).state = node.id; }, child: Container( color: backgroundColor, padding: _tilePadding, child: Text('${node.type}()'), ), ); } }
devtools/packages/devtools_app/lib/src/screens/provider/provider_list.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/provider/provider_list.dart", "repo_id": "devtools", "token_count": 1352 }
90
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import 'package:string_scanner/string_scanner.dart'; import 'package:vm_service/vm_service.dart'; import '../../../shared/common_widgets.dart'; import '../../../shared/primitives/utils.dart'; import '../../../shared/table/table.dart'; import '../../../shared/table/table_data.dart'; import '../../../shared/ui/colors.dart'; import '../vm_developer_common_widgets.dart'; import '../vm_service_private_extensions.dart'; import 'object_inspector_view_controller.dart'; import 'vm_object_model.dart'; abstract class _CodeColumnData<T> extends ColumnData<T> { _CodeColumnData(super.title, {required super.fixedWidthPx}); _CodeColumnData.wide(super.title) : super.wide(); @override bool get supportsSorting => false; } class _AddressColumn extends _CodeColumnData<Instruction> { _AddressColumn() : super( 'Address', fixedWidthPx: 160, ); @override int getValue(Instruction dataObject) { return int.parse(dataObject.address, radix: 16); } @override String getDisplayValue(Instruction dataObject) { final value = getValue(dataObject); return '0x${value.toRadixString(16).toUpperCase().padLeft(8)}'; } } class _AddressRangeColumn extends _CodeColumnData<InliningEntry> { _AddressRangeColumn() : super( 'Address Range', fixedWidthPx: 300, ); @override String getValue(InliningEntry dataObject) { return '[${dataObject.addressRange.begin.asAddress}, ' '${dataObject.addressRange.end.asAddress})'; } } class _FunctionsColumn extends _CodeColumnData<InliningEntry> implements ColumnRenderer<InliningEntry> { _FunctionsColumn({required this.controller}) : super.wide('Functions'); final ObjectInspectorViewController controller; @override Widget? build( BuildContext context, InliningEntry data, { bool isRowSelected = false, bool isRowHovered = false, VoidCallback? onPressed, }) { return Row( children: [ for (final function in data.functions) ...[ VmServiceObjectLink( object: function, onTap: controller.findAndSelectNodeForObject, ), const SizedBox( width: denseSpacing, ), ], ], ); } @override Object? getValue(InliningEntry dataObject) { return dataObject; } } // TODO(bkonyi): consider coloring the background similarly to how we indicate // code "hotness" in the debugger tab. To do this properly here, we'd need to // modify the table column padding logic to allow for custom column rendering // that can fill the entire column which is a can of worms I'd rather not open // for some rather niche functionality. We can revisit this once we can use the // table implementation from the Flutter framework. class _ProfileTicksColumn extends _CodeColumnData<Instruction> { _ProfileTicksColumn( super.title, { required this.inclusive, required this.ticks, }) : super(fixedWidthPx: 140); final bool inclusive; final CpuProfilerTicksTable? ticks; @override int? getValue(Instruction dataObject) { if (ticks == null) return null; final tick = ticks![dataObject.unpaddedAddress]; return inclusive ? tick?.inclusiveTicks : tick?.exclusiveTicks; } @override String getDisplayValue(Instruction dataObject) { final value = getValue(dataObject); if (value == null) return ''; final percentage = percent(value / ticks!.sampleCount); return '$percentage ($value)'; } } // TODO(bkonyi): consider coloring the background similarly to how we indicate // code "hotness" in the debugger tab. To do this properly here, we'd need to // modify the table column padding logic to allow for custom column rendering // that can fill the entire column which is a can of worms I'd rather not open // for some rather niche functionality. We can revisit this once we can use the // table implementation from the Flutter framework. class _ProfileRangeTicksColumn extends _CodeColumnData<InliningEntry> { _ProfileRangeTicksColumn( super.title, { required this.inclusive, required this.ticks, }) : super(fixedWidthPx: 140); final bool inclusive; final CpuProfilerTicksTable? ticks; @override int? getValue(InliningEntry dataObject) { if (ticks == null) return null; final range = dataObject.addressRange; final tick = ticks!.forRange(range.begin.toInt(), range.end.toInt()); return inclusive ? tick?.inclusiveTicks : tick?.exclusiveTicks; } @override String getDisplayValue(InliningEntry dataObject) { final value = getValue(dataObject); if (value == null) return ''; final percentage = percent(value / ticks!.sampleCount); return '$percentage ($value)'; } } class _InstructionColumn extends _CodeColumnData<Instruction> implements ColumnRenderer<Instruction> { _InstructionColumn() : super( 'Disassembly', fixedWidthPx: 240, ); @override Object? getValue(Instruction dataObject) { return dataObject.instruction; } @override Widget build( BuildContext context, Instruction data, { bool isRowSelected = false, bool isRowHovered = false, VoidCallback? onPressed, }) { final theme = Theme.of(context); return Text.rich( style: theme.fixedFontStyle, _highlightAssemblyCode( context, data.instruction, ), ); } String _getLastMatch(StringScanner scanner) { final match = scanner.lastMatch!; return scanner.substring(match.start, match.end); } TextSpan _buildInstructionSpanRegExp( ColorScheme colorScheme, StringScanner scanner, ) { return TextSpan( text: _getLastMatch(scanner), style: TextStyle( color: colorScheme.controlFlowSyntaxColor, ), ); } TextSpan _buildRegisterSpan(ColorScheme colorScheme, StringScanner scanner) { return TextSpan( text: _getLastMatch(scanner), style: TextStyle( color: colorScheme.variableSyntaxColor, ), ); } TextSpan _buildNumericSpan( ColorScheme colorScheme, StringScanner scanner, { required bool isHex, }) { final match = _getLastMatch(scanner); return TextSpan( text: isHex ? '0x${match.substring(2).toUpperCase()}' : match, style: TextStyle( color: colorScheme.numericConstantSyntaxColor, ), ); } TextSpan _highlightAssemblyCode(BuildContext context, String instruction) { final instructionSpan = RegExp(r'[a-zA-Z]+'); final registerRegExp = RegExp(r'[a-zA-Z0-9]{2,3}'); final addressRegExp = RegExp(r'0x[a-fA-F0-9]+'); final numericRegExp = RegExp(r'\d+'); final spans = <TextSpan>[]; final scanner = StringScanner(instruction); final colorScheme = Theme.of(context).colorScheme; // The instruction (e.g., push, movq, jl, etc) will always be first, if // it's present. if (scanner.scan(instructionSpan)) { spans.add(_buildInstructionSpanRegExp(colorScheme, scanner)); } while (!scanner.isDone) { if (scanner.scan(addressRegExp)) { spans.add(_buildNumericSpan(colorScheme, scanner, isHex: true)); } else if (scanner.scan(numericRegExp)) { spans.add(_buildNumericSpan(colorScheme, scanner, isHex: false)); } else if (scanner.scan(registerRegExp)) { spans.add(_buildRegisterSpan(colorScheme, scanner)); } else { spans.add( TextSpan( text: String.fromCharCode(scanner.readChar()), ), ); } } return TextSpan(children: spans); } } class _DartObjectColumn extends _CodeColumnData<Instruction> implements ColumnRenderer<Instruction> { _DartObjectColumn({required this.controller}) : super.wide('Object'); final ObjectInspectorViewController controller; @override Response? getValue(Instruction inst) => inst.object; @override Widget? build( BuildContext context, Instruction data, { bool isRowSelected = false, bool isRowHovered = false, VoidCallback? onPressed, }) { if (data.object == null) return Container(); return VmServiceObjectLink( object: data.object!, onTap: controller.findAndSelectNodeForObject, ); } } /// A widget for the object inspector historyViewport displaying information /// related to [Code] objects in the Dart VM. class VmCodeDisplay extends StatelessWidget { const VmCodeDisplay({ super.key, required this.controller, required this.code, }); final ObjectInspectorViewController controller; final CodeObject code; @override Widget build(BuildContext context) { return SplitPane( initialFractions: const [0.4, 0.6], axis: Axis.vertical, children: [ OutlineDecoration.onlyBottom( child: VmObjectDisplayBasicLayout( controller: controller, object: code, generalDataRows: vmObjectGeneralDataRows(controller, code), sideCardTitle: 'Code Details', sideCardDataRows: _codeDetailRows(code), ), ), OutlineDecoration.onlyTop( child: Column( children: [ if (code.obj.hasInliningData) ...[ Flexible( child: InliningTable( code: code, controller: controller, ticks: code.ticksTable, ), ), const ThickDivider(), ], Flexible( child: CodeTable( code: code, controller: controller, ticks: code.ticksTable, ), ), ], ), ), ], ); } /// Returns a list of key-value pairs (map entries) /// containing detailed information of a VM Func object [function]. List<MapEntry<String, Widget Function(BuildContext)>> _codeDetailRows( CodeObject code, ) { return [ selectableTextBuilderMapEntry( 'Kind', code.obj.kind, ), serviceObjectLinkBuilderMapEntry( controller: controller, key: 'Function', object: code.obj.function!, ), serviceObjectLinkBuilderMapEntry( controller: controller, key: 'Object Pool', object: code.obj.objectPool, ), ]; } } class InliningTable extends StatelessWidget { InliningTable({ Key? key, required this.code, required this.controller, required this.ticks, }) : inliningData = code.obj.inliningData, super(key: key); final CodeObject code; final InliningData inliningData; final ObjectInspectorViewController controller; final CpuProfilerTicksTable? ticks; late final columns = <ColumnData<InliningEntry>>[ _AddressRangeColumn(), _FunctionsColumn(controller: controller), if (ticks != null) ...[ _ProfileRangeTicksColumn( 'Total %', ticks: code.ticksTable, inclusive: true, ), _ProfileRangeTicksColumn( 'Self %', ticks: code.ticksTable, inclusive: false, ), ], ]; @override Widget build(BuildContext context) { return FlatTable<InliningEntry>( data: inliningData.entries, dataKey: 'vm-code-display', keyFactory: (entry) => Key(entry.addressRange.toString()), columnGroups: [ ColumnGroup.fromText( title: 'Inlined Functions', range: const Range(0, 2), ), if (ticks != null) ColumnGroup.fromText( title: 'Profiler Ticks', range: const Range(2, 4), ), ], columns: columns, defaultSortColumn: columns[0], defaultSortDirection: SortDirection.ascending, ); } } class CodeTable extends StatelessWidget { CodeTable({ Key? key, required this.code, required this.controller, required this.ticks, }) : super(key: key); late final columns = <ColumnData<Instruction>>[ _AddressColumn(), _InstructionColumn(), _DartObjectColumn(controller: controller), if (ticks != null) ...[ _ProfileTicksColumn( 'Total %', ticks: code.ticksTable, inclusive: true, ), _ProfileTicksColumn( 'Self %', ticks: code.ticksTable, inclusive: false, ), ], ]; final ObjectInspectorViewController controller; final CodeObject code; final CpuProfilerTicksTable? ticks; @override Widget build(BuildContext context) { return FlatTable<Instruction>( data: code.obj.disassembly.instructions, dataKey: 'vm-code-display', keyFactory: (instruction) => Key(instruction.address), columnGroups: [ ColumnGroup.fromText(title: 'Instructions', range: const Range(0, 3)), if (ticks != null) ColumnGroup.fromText( title: 'Profiler Ticks', range: const Range(3, 5), ), ], columns: columns, defaultSortColumn: columns[0], defaultSortDirection: SortDirection.ascending, ); } } /// A mapping of [Instruction] addresses to corresponding CPU profiler ticks. class CpuProfilerTicksTable { CpuProfilerTicksTable.parse({ required this.sampleCount, // ignore: avoid-dynamic, requires refactor. required List<dynamic> ticks, }) : assert(ticks.length % 3 == 0) { // Ticks are built up of groups of 3 elements: // [address, exclusiveTicks, inclusiveTicks] for (int i = 0; i < ticks.length; i += 3) { _table[ticks[i] as String] = CodeTicks( exclusiveTicks: ticks[i + 1], inclusiveTicks: ticks[i + 2], ); } } /// The total number of samples in the original [CpuSamples] response. final int sampleCount; /// Retrieves CPU profiler [CodeTicks] associated with a given [Instruction] /// address. /// /// If no CPU samples were collected for a given instruction address, null is /// returned. CodeTicks? operator [](String address) => _table[address]; CodeTicks? forRange(int start, int end) { CodeTicks? result; for (int i = start; i < end; ++i) { final ticks = this[i.toRadixString(16)]; if (result == null) { result = ticks; } else if (ticks != null) { result += ticks; } } return result; } final _table = <String, CodeTicks>{}; } /// Tracks inclusive and exclusive CPU profiler ticks for a single /// [Instruction]. class CodeTicks { const CodeTicks({ required this.inclusiveTicks, required this.exclusiveTicks, }); CodeTicks operator +(CodeTicks other) => CodeTicks( inclusiveTicks: inclusiveTicks + other.inclusiveTicks, exclusiveTicks: exclusiveTicks + other.exclusiveTicks, ); final int exclusiveTicks; final int inclusiveTicks; }
devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_code_display.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_code_display.dart", "repo_id": "devtools", "token_count": 5866 }
91
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import '../../shared/screen.dart'; import '../../shared/utils.dart'; import 'isolate_statistics/isolate_statistics_view.dart'; import 'object_inspector/object_inspector_view.dart'; import 'process_memory/process_memory_view.dart'; import 'vm_developer_tools_controller.dart'; import 'vm_statistics/vm_statistics_view.dart'; abstract class VMDeveloperView { const VMDeveloperView({ required this.title, required this.icon, }); /// The user-facing name of the page. final String title; final IconData icon; /// Whether this view should display the isolate selector in the status /// line. /// /// Some views act on all isolates; for these views, displaying a /// selector doesn't make sense. bool get showIsolateSelector => false; Widget build(BuildContext context); } class VMDeveloperToolsScreen extends Screen { VMDeveloperToolsScreen() : super.fromMetaData(ScreenMetaData.vmTools); static final id = ScreenMetaData.vmTools.id; @override ValueListenable<bool> get showIsolateSelector => VMDeveloperToolsController.showIsolateSelector; @override Widget buildScreenBody(BuildContext context) => const VMDeveloperToolsScreenBody(); } class VMDeveloperToolsScreenBody extends StatefulWidget { const VMDeveloperToolsScreenBody({super.key}); static final views = <VMDeveloperView>[ const VMStatisticsView(), const IsolateStatisticsView(), ObjectInspectorView(), const VMProcessMemoryView(), ]; @override State<VMDeveloperToolsScreenBody> createState() => _VMDeveloperToolsScreenState(); } class _VMDeveloperToolsScreenState extends State<VMDeveloperToolsScreenBody> with AutoDisposeMixin, ProvidedControllerMixin<VMDeveloperToolsController, VMDeveloperToolsScreenBody> { @override void didChangeDependencies() { super.didChangeDependencies(); initController(); } @override Widget build(BuildContext context) { return ValueListenableBuilder<int>( valueListenable: controller.selectedIndex, builder: (context, selectedIndex, _) { return Row( children: [ if (VMDeveloperToolsScreenBody.views.length > 1) NavigationRail( selectedIndex: selectedIndex, labelType: NavigationRailLabelType.all, onDestinationSelected: controller.selectIndex, destinations: [ for (final view in VMDeveloperToolsScreenBody.views) NavigationRailDestination( label: Text(view.title), icon: Icon(view.icon), ), ], ), Expanded( child: Padding( padding: const EdgeInsets.only( left: defaultSpacing, ), child: IndexedStack( index: selectedIndex, children: [ for (final view in VMDeveloperToolsScreenBody.views) view.build(context), ], ), ), ), ], ); }, ); } }
devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_developer_tools_screen.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_developer_tools_screen.dart", "repo_id": "devtools", "token_count": 1408 }
92
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Avoid unused parameters does not play well with conditional imports. // ignore_for_file: avoid-unused-parameters // ignore_for_file: avoid-redundant-async import 'dart:async'; import 'package:logging/logging.dart'; import 'analytics_common.dart'; final _log = Logger('_analytics_stub'); /// The IDE that DevTools was launched from. /// /// This is just a stub value so that we can access the [ideLaunched] field on /// both web and desktop, and manipulate this value for tests running on the VM. String ideLaunched = ''; Future<void> setAnalyticsEnabled(bool value) async {} FutureOr<bool> isAnalyticsEnabled() => false; void initializeGA() {} void jsHookupListenerForGA() {} Future<void> enableAnalytics() async {} Future<void> disableAnalytics() async {} Future<String> fetchAnalyticsConsentMessage() async => 'stubbed consent message'; Future<void> markConsentMessageAsShown() async {} void screen( String screenName, [ int value = 0, ]) { _log.fine('Event: screen(screenName:$screenName, value:$value)'); } void timeStart(String screenName, String timedOperation) {} void timeEnd( String screenName, String timedOperation, { ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) {} void cancelTimingOperation(String screenName, String timedOperation) {} void timeSync( String screenName, String timedOperation, { required void Function() syncOperation, ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) { // Execute the operation here so that the desktop app still functions without // the real analytics call. syncOperation(); } Future<void> timeAsync( String screenName, String timedOperation, { required Future<void> Function() asyncOperation, ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) async { // Execute the operation here so that the desktop app still functions without // the real analytics call. await asyncOperation(); } void select( String screenName, String selectedItem, { int value = 0, bool nonInteraction = false, ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) { _log.fine( 'Event: select(' 'screenName:$screenName, ' 'selectedItem:$selectedItem, ' 'value:$value, ' 'nonInteraction:$nonInteraction)', ); } void impression( String screenName, String item, { ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) { _log.fine( 'Event: impression(' 'screenName:$screenName, ' 'item:$item)', ); } void reportError( String errorMessage, { bool fatal = false, ScreenAnalyticsMetrics Function()? screenMetricsProvider, }) {} Future<void> setupDimensions() async {} void setupUserApplicationDimensions() {} Map<String, dynamic> generateSurveyQueryParameters() => {};
devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_stub.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_stub.dart", "repo_id": "devtools", "token_count": 877 }
93
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:collection/collection.dart' show IterableExtension; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import '../screens/performance/performance_utils.dart'; import 'analytics/constants.dart' as gac; import 'common_widgets.dart'; import 'connected_app.dart'; import 'globals.dart'; import 'http/http_service.dart' as http_service; import 'primitives/utils.dart'; import 'screen.dart'; const _runInProfileModeDocsUrl = 'https://flutter.dev/docs/testing/ui-performance#run-in-profile-mode'; const _cpuSamplingRateDocsUrl = 'https://flutter.dev/docs/development/tools/devtools/performance#profile-granularity'; class BannerMessagesController { final _messages = <String, ListValueNotifier<BannerMessage>>{}; final _dismissedMessageKeys = <Key?>{}; /// Adds a banner message to top of DevTools. /// /// If the message is already visible, or if this message has already been /// dismissed once and [ignoreIfAlreadyDismissed] is true, this method call /// will be a no-op. /// /// [callInPostFrameCallback] determines whether the message will be added in /// a post frame callback. This should be true (default) whenever this method /// is called from a Flutter lifecycle method (initState, /// didChangeDependencies, etc.). Set this value to false when the banner /// message is being added from outside of the Flutter widget lifecycle. void addMessage( BannerMessage message, { bool callInPostFrameCallback = true, bool ignoreIfAlreadyDismissed = true, }) { void add() { if ((ignoreIfAlreadyDismissed && isMessageDismissed(message)) || isMessageVisible(message)) { return; } final messages = _messagesForScreen(message.screenId); messages.add(message); } if (callInPostFrameCallback) { // We push the banner message in a post frame callback because otherwise, // we'd be trying to call setState while the parent widget `BannerMessages` // is in the middle of `build`. WidgetsBinding.instance.addPostFrameCallback((_) { add(); }); } else { add(); } } void removeMessage(BannerMessage message, {bool dismiss = false}) { if (dismiss) { _dismissedMessageKeys.add(message.key); } // We push the banner message in a post frame callback because otherwise, // we'd be trying to call setState while the parent widget `BannerMessages` // is in the middle of `build`. WidgetsBinding.instance.addPostFrameCallback((_) { final messages = _messagesForScreen(message.screenId); messages.remove(message); }); } void removeMessageByKey(Key key, String screenId) { final currentMessages = _messagesForScreen(screenId); final messageWithKey = currentMessages.value.firstWhereOrNull( (m) => m.key == key, ); if (messageWithKey != null) { removeMessage(messageWithKey); } } @visibleForTesting bool isMessageDismissed(BannerMessage message) { return _dismissedMessageKeys.contains(message.key); } @visibleForTesting bool isMessageVisible(BannerMessage message) { return _messagesForScreen(message.screenId) .value .where((m) => m.key == message.key) .isNotEmpty; } ListValueNotifier<BannerMessage> _messagesForScreen(String screenId) { return _messages.putIfAbsent( screenId, () => ListValueNotifier<BannerMessage>([]), ); } ValueListenable<List<BannerMessage>> messagesForScreen(String screenId) { return _messagesForScreen(screenId); } } class BannerMessages extends StatelessWidget { const BannerMessages({Key? key, required this.screen}) : super(key: key); final Screen screen; // TODO(kenz): use an AnimatedList for message changes. @override Widget build(BuildContext context) { final messagesForScreen = bannerMessages.messagesForScreen(screen.screenId); return Column( children: [ ValueListenableBuilder<List<BannerMessage>>( valueListenable: messagesForScreen, builder: (context, messages, _) { return Column( children: messages, ); }, ), Expanded( child: screen.build(context), ), ], ); } } // TODO(kenz): add an 'info' type. enum BannerMessageType { warning, error; static BannerMessageType? parse(String? value) { for (final type in BannerMessageType.values) { if (type.name == value) return type; } return null; } } @visibleForTesting class BannerMessage extends StatelessWidget { const BannerMessage({ required super.key, required this.textSpans, required this.screenId, required this.messageType, }); final List<InlineSpan> textSpans; final String screenId; final BannerMessageType messageType; @override Widget build(BuildContext context) { final theme = Theme.of(context); final colorScheme = theme.colorScheme; return Card( color: messageType == BannerMessageType.error ? colorScheme.errorContainer : colorScheme.warningContainer, margin: const EdgeInsets.only(bottom: intermediateSpacing), child: Padding( padding: const EdgeInsets.symmetric( vertical: densePadding, horizontal: denseSpacing, ), child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Padding( padding: const EdgeInsets.symmetric(horizontal: 12.0), child: Icon( messageType == BannerMessageType.error ? Icons.error_outline : Icons.warning_amber_outlined, size: actionsIconSize, color: messageType == BannerMessageType.error ? colorScheme.onErrorContainer : colorScheme.onWarningContainer, ), ), Expanded( child: RichText( text: TextSpan( style: theme.regularTextStyle.copyWith( color: messageType == BannerMessageType.error ? colorScheme.onErrorContainer : colorScheme.onWarningContainer, ), children: textSpans, ), ), ), const SizedBox(width: defaultSpacing), IconButton( icon: Icon( Icons.close, size: actionsIconSize, color: messageType == BannerMessageType.error ? colorScheme.onErrorContainer : colorScheme.onWarningContainer, ), onPressed: () => bannerMessages.removeMessage(this, dismiss: true), ), ], ), ], ), ), ); } } class _BannerError extends BannerMessage { const _BannerError({ required Key key, required List<TextSpan> textSpans, required String screenId, }) : super( key: key, textSpans: textSpans, screenId: screenId, messageType: BannerMessageType.error, ); } // TODO(kenz): add "Do not show this again" option to warnings. class BannerWarning extends BannerMessage { const BannerWarning({ required super.key, required super.textSpans, required super.screenId, }) : super(messageType: BannerMessageType.warning); } class DebugModePerformanceMessage { const DebugModePerformanceMessage(this.screenId); final String screenId; BannerMessage build(BuildContext context) { final theme = Theme.of(context); return BannerWarning( key: Key('DebugModePerformanceMessage - $screenId'), textSpans: [ const TextSpan( text: 'You are running your app in debug mode. Debug mode performance ' 'is not indicative of release performance, but you may use debug ' 'mode to gain visibility into the work the system performs (e.g. ' 'building widgets, calculating layouts, rasterizing scenes,' ' etc.). For precise measurement of performance, relaunch your ' 'application in ', ), _runInProfileModeTextSpan( context, screenId: screenId, style: theme.warningMessageLinkStyle, ), const TextSpan( text: '.', ), ], screenId: screenId, ); } } // TODO(jacobr): cleanup this class that looks like a Widget but can't quite be // a widget due to some questionable design choices involving BannerMessage. class ProviderUnknownErrorBanner { const ProviderUnknownErrorBanner({required this.screenId}); final String screenId; BannerMessage build() { return _BannerError( key: Key('ProviderUnknownErrorBanner - $screenId'), screenId: screenId, textSpans: [ TextSpan( text: ''' DevTools failed to connect with package:provider. This could be caused by an older version of package:provider; please make sure that you are using version >=5.0.0.''', style: TextStyle(fontSize: defaultFontSize), ), ], ); } } class ShaderJankMessage { const ShaderJankMessage( this.screenId, { required this.jankyFramesCount, required this.jankDuration, }); final String screenId; final int jankyFramesCount; final Duration jankDuration; BannerMessage build(BuildContext context) { final theme = Theme.of(context); final jankDurationText = durationText( jankDuration, unit: DurationDisplayUnit.milliseconds, ); return _BannerError( key: Key('ShaderJankMessage - $screenId'), textSpans: [ TextSpan( text: 'Shader compilation jank detected. $jankyFramesCount ' '${pluralize('frame', jankyFramesCount)} janked with a total of ' '$jankDurationText spent in shader compilation. To pre-compile ' 'shaders, see the instructions at ', ), LinkTextSpan( link: Link( display: preCompileShadersDocsUrl, url: preCompileShadersDocsUrl, gaScreenName: screenId, gaSelectedItemDescription: gac.PerformanceDocs.shaderCompilationDocs.name, ), context: context, style: theme.errorMessageLinkStyle, ), const TextSpan(text: '.'), if (serviceConnection.serviceManager.connectedApp!.isIosApp) ...[ const TextSpan( text: '\n\nNote: this is a legacy solution with many pitfalls. ' 'Try ', ), LinkTextSpan( link: Link( display: 'Impeller', url: impellerDocsUrl, gaScreenName: screenId, gaSelectedItemDescription: gac.PerformanceDocs.impellerDocsLink.name, ), context: context, style: theme.errorMessageLinkStyle, ), const TextSpan( text: ' instead!', ), ], ], screenId: screenId, ); } } class HighCpuSamplingRateMessage { HighCpuSamplingRateMessage(this.screenId) : key = Key('HighCpuSamplingRateMessage - $screenId'); final Key key; final String screenId; BannerMessage build(BuildContext context) { final theme = Theme.of(context); return BannerWarning( key: key, textSpans: [ const TextSpan( text: ''' You are opting in to a high CPU sampling rate. This may affect the performance of your application. Please read our ''', ), LinkTextSpan( link: Link( display: 'documentation', url: _cpuSamplingRateDocsUrl, gaScreenName: screenId, gaSelectedItemDescription: gac.CpuProfilerDocs.profileGranularityDocs.name, ), context: context, style: theme.warningMessageLinkStyle, ), const TextSpan( text: ' to understand the trade-offs associated with this setting.', ), ], screenId: screenId, ); } } class HttpLoggingEnabledMessage { HttpLoggingEnabledMessage(this.screenId) : key = Key('HttpLoggingEnabledMessage - $screenId'); final Key key; final String screenId; BannerMessage build(BuildContext context) { final theme = Theme.of(context); late final BannerWarning message; message = BannerWarning( key: key, textSpans: [ const TextSpan( text: ''' HTTP traffic is being logged for debugging purposes. This may result in increased memory usage for your app. If this is not intentional, consider ''', ), TextSpan( text: 'disabling http logging', style: theme.warningMessageLinkStyle, recognizer: TapGestureRecognizer() ..onTap = () async { await http_service.toggleHttpRequestLogging(false).then((_) { if (!http_service.httpLoggingEnabled) { notificationService.push('Http logging disabled.'); bannerMessages.removeMessage(message); } }); }, ), const TextSpan( text: ' before profiling the memory of your application.', ), ], screenId: screenId, ); return message; } } class DebugModeMemoryMessage { const DebugModeMemoryMessage(this.screenId); final String screenId; BannerMessage build(BuildContext context) { return BannerWarning( key: Key('DebugModeMemoryMessage - $screenId'), textSpans: [ const TextSpan( text: ''' You are running your app in debug mode. Absolute memory usage may be higher in a debug build than in a release build. For the most accurate absolute memory stats, relaunch your application in ''', ), _runInProfileModeTextSpan( context, screenId: screenId, style: Theme.of(context).warningMessageLinkStyle, ), const TextSpan( text: '.', ), ], screenId: screenId, ); } } void maybePushDebugModePerformanceMessage( BuildContext context, String screenId, ) { if (offlineController.offlineMode.value) return; if (serviceConnection.serviceManager.connectedApp?.isDebugFlutterAppNow ?? false) { bannerMessages.addMessage( DebugModePerformanceMessage(screenId).build(context), ); } } void maybePushDebugModeMemoryMessage( BuildContext context, String screenId, ) { if (offlineController.offlineMode.value) return; if (serviceConnection.serviceManager.connectedApp?.isDebugFlutterAppNow ?? false) { bannerMessages.addMessage(DebugModeMemoryMessage(screenId).build(context)); } } void maybePushHttpLoggingMessage( BuildContext context, String screenId, ) { if (http_service.httpLoggingEnabled) { bannerMessages.addMessage( HttpLoggingEnabledMessage(screenId).build(context), ); } } extension BannerMessageThemeExtension on ThemeData { TextStyle get warningMessageLinkStyle => regularTextStyle.copyWith( decoration: TextDecoration.underline, color: colorScheme.onWarningContainerLink, ); TextStyle get errorMessageLinkStyle => regularTextStyle.copyWith( decoration: TextDecoration.underline, color: colorScheme.onErrorContainerLink, ); } LinkTextSpan _runInProfileModeTextSpan( BuildContext context, { required String screenId, required TextStyle style, }) { return LinkTextSpan( link: Link( display: 'profile mode', url: _runInProfileModeDocsUrl, gaScreenName: screenId, gaSelectedItemDescription: gac.profileModeDocs, ), context: context, style: style, ); }
devtools/packages/devtools_app/lib/src/shared/banner_messages.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/banner_messages.dart", "repo_id": "devtools", "token_count": 6791 }
94
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'file.dart'; FileSystemWeb createFileSystem() { return FileSystemWeb(); } /// Abstracted file system access for Flutter Web. class FileSystemWeb implements FileIO { // TODO(terry): Implement Web based file IO. /// Key is filename and value is content of the file. final Map<String, String> _files = {}; /// In memory file system. @override String exportDirectoryName({bool isMemory = false}) => 'LocalStorage'; @override void writeStringToFile( String filename, String contents, { bool isMemory = false, }) { _files.putIfAbsent(filename, () => contents); } @override String? readStringFromFile(String filename, {bool isMemory = false}) => _files.containsKey(filename) ? _files[filename]! : null; @override List<String> list({required String prefix, bool isMemory = false}) => _files.keys.toList(); @override bool deleteFile(String filename, {bool isMemory = false}) => _files.remove(filename) != null; }
devtools/packages/devtools_app/lib/src/shared/config_specific/file/_file_web.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/file/_file_web.dart", "repo_id": "devtools", "token_count": 356 }
95
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_print import 'logger.dart'; void printToConsole(Object message, [LogLevel level = LogLevel.debug]) { switch (level) { case LogLevel.debug: print(message); break; case LogLevel.warning: print('[WARNING]: $message'); break; case LogLevel.error: print('[ERROR]: $message'); } }
devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_logger_io.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_logger_io.dart", "repo_id": "devtools", "token_count": 180 }
96
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:collection/collection.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:vm_service/vm_service.dart'; import '../../../service/vm_service_wrapper.dart'; import '../../globals.dart'; import '../../memory/adapted_heap_object.dart'; import '../../vm_utils.dart'; import '../primitives/scope.dart'; class EvalService extends DisposableController with AutoDisposeControllerMixin { /// Parameter `scope` for `serviceManager.manager.service!.evaluate(...)`. final scope = EvalScope(); VmServiceWrapper get _service { return serviceConnection.serviceManager.service!; } String? get _isolateRefId { return serviceConnection .serviceManager.isolateManager.selectedIsolate.value?.id; } /// Returns the class for the provided [ClassRef]. /// /// May return null. Future<Class?> classFor(ClassRef classRef) async { try { return serviceConnection.appState.cache.classes[classRef] ??= await getObject(classRef) as Class; } catch (_) {} return null; } /// Find the owner library for a ClassRef, FuncRef, or LibraryRef. /// /// If Dart had union types, ref would be type ClassRef | FuncRef | LibraryRef Future<LibraryRef?> findOwnerLibrary(Object? ref) async { if (ref is LibraryRef) { return ref; } if (ref is ClassRef) { if (ref.library != null) { return ref.library; } // Fallback for older VMService versions. final clazz = await classFor(ref); return clazz?.library; } if (ref is FuncRef) { return findOwnerLibrary(ref.owner); } return null; } /// Get the populated [Obj] object, given an [ObjRef]. /// /// The return value can be one of [Obj] or [Sentinel]. Future<Obj?> getObject(ObjRef objRef) async { final ref = _isolateRefId; if (ref == null) return Future.value(); return await _service.getObject(ref, objRef.id!); } /// Evaluates the expression in the isolate's root library. Future<Response> evalInRunningApp( IsolateRef isolateRef, String expressionText, ) async { final isolate = serviceConnection.serviceManager.isolateManager .isolateState(isolateRef); final isolateId = isolateRef.id!; Future<Response> eval() async => await serviceConnection.serviceManager.service!.evaluate( isolateId, (await isolate.isolate)!.rootLib!.id!, expressionText, scope: scope.value(isolateId: isolateId), ); return await _evalWithVariablesRefresh(eval, isolateId); } Future<Response> _evalWithVariablesRefresh( Future<Response> Function() evalFunction, String isolateId, ) async { try { return await evalFunction(); } on RPCError catch (e) { const expressionCompilationErrorCode = 113; if (e.code != expressionCompilationErrorCode) rethrow; final shouldRetry = await scope.refreshRefs(isolateId); _showScopeChangeMessageIfNeeded(); if (shouldRetry) { return await evalFunction(); } else { rethrow; } } } void _showScopeChangeMessageIfNeeded() { if (scope.removedVariables.isEmpty) return; final variables = scope.removedVariables.join(', '); serviceConnection.consoleService.appendStdio( 'Garbage collected instances were removed from the scope: $variables. ' 'Pause application (use DevTools > Debugger) to make the variables persistent.\n', ); } bool get isStoppedAtDartFrame { return serviceConnection.serviceManager.isMainIsolatePaused && serviceConnection.appState.currentFrame.value?.code?.kind == CodeKind.kDart; } /// Evaluate the given expression in the context of the currently selected /// stack frame, or the top frame if there is no current selection. /// /// This will fail if the application is not currently paused. Future<Response> evalAtCurrentFrame(String expression) async { final appState = serviceConnection.appState; if (!serviceConnection.serviceManager.isMainIsolatePaused) { return Future.error( RPCError.withDetails( 'evaluateInFrame', RPCErrorKind.kInvalidParams.code, 'Isolate not paused', ), ); } final frame = appState.currentFrame.value; if (frame == null) { return Future.error( RPCError.withDetails( 'evaluateInFrame', RPCErrorKind.kInvalidParams.code, 'No frames available', ), ); } final isolateRefId = _isolateRefId; if (isolateRefId == null) { return Future.error( RPCError.withDetails( 'evaluateInFrame', RPCErrorKind.kInvalidParams.code, 'isolateRefId is null', ), ); } Future<Response> evalFunction() => _service.evaluateInFrame( isolateRefId, frame.index!, expression, disableBreakpoints: true, scope: scope.value(isolateId: isolateRefId), ); return await _evalWithVariablesRefresh(evalFunction, isolateRefId); } Future<InstanceRef?> findObject( AdaptedHeapObject object, IsolateRef isolateRef, ) async { final isolateId = isolateRef.id!; final theClass = (await serviceConnection.serviceManager.service! .getClassList(isolateId)) .classes! .firstWhereOrNull((ref) => object.heapClass.matches(ref)); return await findInstance(isolateId, theClass?.id, object.code); } }
devtools/packages/devtools_app/lib/src/shared/console/eval/eval_service.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/console/eval/eval_service.dart", "repo_id": "devtools", "token_count": 2119 }
97
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/foundation.dart'; import 'package:vm_service/vm_service.dart'; import '../globals.dart'; import '../memory/adapted_heap_data.dart'; import '../primitives/trees.dart'; import '../primitives/utils.dart'; import 'diagnostics_node.dart'; import 'generic_instance_reference.dart'; import 'helpers.dart'; import 'inspector_service.dart'; // TODO(jacobr): gracefully handle cases where the isolate has closed and // InstanceRef objects have become sentinels. class DartObjectNode extends TreeNode<DartObjectNode> { DartObjectNode._({ this.name, this.text, this.ref, int? offset, int? childCount, this.artificialName = false, this.artificialValue = false, this.isRerootable = false, }) : _offset = offset, _childCount = childCount { indentChildren = ref?.diagnostic?.style != DiagnosticsTreeStyle.flat; } /// Creates a variable from a value that must be an VM service type or a /// primitive type. /// /// [value] should typically be an [InstanceRef] but can also be a [Sentinel] /// [ObjRef] or primitive type such as num or String. /// /// [artificialName] and [artificialValue] is used by [ExpandableVariable] to /// determine styling of `Text(name)` and `Text(displayValue)` respectively. /// Artificial names and values are rendered using `subtleFixedFontStyle` to /// put less emphasis on the name (e.g., for the root node of a JSON tree). factory DartObjectNode.fromValue({ String? name, required Object? value, bool artificialName = false, bool artificialValue = false, RemoteDiagnosticsNode? diagnostic, HeapObjectSelection? heapSelection, required IsolateRef? isolateRef, }) { name = name ?? ''; final String? text; final heapObject = heapSelection?.object; if (heapObject == null) { text = null; } else { final className = heapObject.heapClass.className; final size = prettyPrintRetainedSize( heapObject.retainedSize, ); text = '$className, retained size $size'; } return DartObjectNode._( name: name, text: text, ref: GenericInstanceRef( isolateRef: isolateRef, diagnostic: diagnostic, value: value, heapSelection: heapSelection, ), artificialName: artificialName, artificialValue: artificialValue, ); } /// Creates a variable from a `String` which displays [value] with quotation /// marks. factory DartObjectNode.fromString({ String? name, required String? value, required IsolateRef? isolateRef, }) { name = name ?? ''; return DartObjectNode._( name: name, ref: GenericInstanceRef( isolateRef: isolateRef, value: value != null ? "'$value'" : null, ), ); } /// Creates a list node from a list of values that must be VM service objects /// or primitives. /// /// [list] should be a list of VM service objects or primitives. /// /// [displayNameBuilder] is used to transform a list element that will be the /// child node's `value`. /// /// [childBuilder] is used to generate nodes for each child. /// /// [artificialChildValues] determines styling of `Text(displayValue)` for /// child nodes. Artificial values are rendered using `subtleFixedFontStyle` /// to put less emphasis on the value. factory DartObjectNode.fromList({ String? name, required String? type, required List<Object?>? list, required IsolateRef? isolateRef, Object? Function(Object?)? displayNameBuilder, List<DartObjectNode> Function(Object?)? childBuilder, bool artificialChildValues = true, }) { name = name ?? ''; return DartObjectNode._( name: name, ref: GenericInstanceRef( isolateRef: isolateRef, value: '$type (${_itemCount(list?.length ?? 0)})', ), artificialValue: true, childCount: list?.length ?? 0, )..addAllChildren([ if (list != null) for (int i = 0; i < list.length; ++i) DartObjectNode.fromValue( name: '[$i]', value: displayNameBuilder?.call(list[i]) ?? list[i], isolateRef: isolateRef, artificialName: true, artificialValue: artificialChildValues, )..addAllChildren([ if (childBuilder != null) ...childBuilder(list[i]), ]), ]); } factory DartObjectNode.create( BoundVariable variable, IsolateRef? isolateRef, ) { final value = variable.value; return DartObjectNode._( name: variable.name, ref: GenericInstanceRef( isolateRef: isolateRef, value: value, ), ); } factory DartObjectNode.text(String text) { return DartObjectNode._( text: text, artificialName: true, ); } factory DartObjectNode.grouping( GenericInstanceRef? ref, { required int offset, required int count, }) { return DartObjectNode._( ref: ref, text: '[$offset - ${offset + count - 1}]', offset: offset, childCount: count, ); } factory DartObjectNode.references( String text, ObjectReferences ref, { bool isRerootable = false, }) { return DartObjectNode._( text: text, ref: ref, childCount: ref.childCount, isRerootable: isRerootable, ); } static const maxChildrenInGrouping = 100; final String? text; final String? name; /// [artificialName] is used by [ExpandableVariable] to determine styling of /// `Text(name)`. Artificial names are rendered using `subtleFixedFontStyle` /// to put less emphasis on the name (e.g., for the root node of a JSON tree). final bool artificialName; /// [artificialValue] is used by [ExpandableVariable] to determine styling of /// `Text(displayValue)`. Artificial names are rendered using /// `subtleFixedFontStyle` to put less emphasis on the value (e.g., for type /// names). final bool artificialValue; GenericInstanceRef? ref; /// The point to fetch the variable from (in the case of large variables that /// we fetch only parts of at a time). int get offset => _offset ?? 0; int? _offset; bool get isGroup => _offset != null; /// If true, the variable can be saved to console as a root. final bool isRerootable; int get childCount { if (_childCount != null) return _childCount!; final value = this.value; if (value is InstanceRef) { final instanceLength = value.length; if (instanceLength == null) return 0; return instanceLength - offset; } return 0; } int? _childCount; bool get isPartialObject { final value = this.value; // Only instance kinds can be partial: if (value is InstanceRef) { // Only instance kinds with a length property can be partial. See: // https://api.flutter.dev/flutter/vm_service/Instance/length.html final instanceLength = value.length; if (instanceLength == null) return false; return offset != 0 || childCount < instanceLength; } return false; } // TODO(elliette): Can remove this workaround once DWDS correctly returns // InstanceKind.kSet for the kind of `Sets`. See: // https://github.com/dart-lang/webdev/issues/2001 bool get isSet { final value = this.value; if (value is InstanceRef) { final kind = value.kind ?? ''; if (kind == InstanceKind.kSet) return true; final name = value.classRef?.name ?? ''; if (name.contains('Set')) return true; } return false; } bool treeInitializeStarted = false; bool treeInitializeComplete = false; @override bool get isExpandable { final theRef = ref; final instanceRef = theRef?.instanceRef; if (isRootForReferences(ref)) return true; if (treeInitializeComplete || children.isNotEmpty || childCount > 0) { return children.isNotEmpty || childCount > 0; } final diagnostic = theRef?.diagnostic; if (diagnostic != null && ((diagnostic.inlineProperties.isNotEmpty) || diagnostic.hasChildren)) { return true; } // TODO(jacobr): do something smarter to avoid expandable variable flicker. if (instanceRef != null) { if (instanceRef.kind == InstanceKind.kStackTrace) { return true; } return instanceRef.valueAsString == null; } final value = theRef?.value; return (value is! String?) && (value is! num?) && (value is! bool?); } Object? get value => ref?.value; // TODO(kenz): add custom display for lists with more than 100 elements String? get displayValue { if (text != null) { return text; } final value = this.value; String? valueStr; if (value == null) return null; if (value is InstanceRef) { final kind = value.kind; if (kind == InstanceKind.kStackTrace) { final depth = children.length; valueStr = 'StackTrace ($depth ${pluralize('frame', depth)})'; } else if (kind == InstanceKind.kRecord) { // Note: `value.length` was added in vm_service >10.1.2, so we fall back // to `children.length` if it's not provide (this means we don't get // the count until the record is expanded): final count = value.length ?? children.length; valueStr = count == 0 ? 'Record' : 'Record ($count ${pluralize('field', count)})'; } else if (value.valueAsString == null) { valueStr = value.classRef?.name ?? ''; } else { valueStr = value.valueAsString ?? ''; if (value.valueAsStringIsTruncated == true) { valueStr += '...'; } if (kind == InstanceKind.kString) { // TODO(devoncarew): Handle multi-line strings. valueStr = "'$valueStr'"; } } // List, Map, Uint8List, Uint16List, etc... if (isList(value) || kind == InstanceKind.kMap || kind == InstanceKind.kSet) { // TODO(elliette): Determine the signature from type parameters, see: // https://api.flutter.dev/flutter/vm_service/ClassRef/typeParameters.html // DWDS provides us with a readable format including type parameters in // the classRef name, for the vm_service we fall back to just using the // kind: final name = _isPrivateName(valueStr) ? kind : valueStr; final itemLength = value.length; if (itemLength == null) return valueStr; return '$name (${_itemCount(itemLength)})'; } } else if (value is Sentinel) { valueStr = value.valueAsString; } else if (value is TypeArgumentsRef) { valueStr = value.name; } else if (value is ObjRef) { valueStr = _stripReferenceToken(value.type); } else { valueStr = value.toString(); } return valueStr; } bool _isPrivateName(String name) => name.startsWith('_'); static String _itemCount(int count) { return '${nf.format(count)} ${pluralize('item', count)}'; } static String _stripReferenceToken(String type) { if (type.startsWith('@')) { return '_${type.substring(1)}'; } return '_$type'; } @override String toString() { if (text != null) return text!; final instanceRef = ref!.instanceRef; final value = instanceRef is InstanceRef ? instanceRef.valueAsString : instanceRef; return '$name - $value'; } /// Selects the object in the Flutter Widget inspector. /// /// Returns whether the inspector selection was changed Future<bool> inspectWidget() async { if (ref?.instanceRef == null) { return false; } final inspectorService = serviceConnection.inspectorService; if (inspectorService == null) { return false; } // Group name doesn't matter in this case. final group = inspectorService.createObjectGroup('inspect-variables'); if (group is ObjectGroup) { try { return await group.setSelection(ref!); } catch (e) { // This is somewhat unexpected. The inspectorRef must have been disposed. return false; } finally { // Not really needed as we shouldn't actually be allocating anything. unawaited(group.dispose()); } } return false; } Future<bool> get isInspectable async { if (_isInspectable != null) return _isInspectable!; if (ref == null) return false; final inspectorService = serviceConnection.inspectorService; if (inspectorService == null) { return false; } // Group name doesn't matter in this case. final group = inspectorService.createObjectGroup('inspect-variables'); try { _isInspectable = await group.isInspectable(ref!); } catch (e) { _isInspectable = false; // This is somewhat unexpected. The inspectorRef must have been disposed. } finally { // Not really needed as we shouldn't actually be allocating anything. unawaited(group.dispose()); } return _isInspectable ?? false; } bool? _isInspectable; @override DartObjectNode shallowCopy() { throw UnimplementedError( 'This method is not implemented. Implement if you ' 'need to call `shallowCopy` on an instance of this class.', ); } }
devtools/packages/devtools_app/lib/src/shared/diagnostics/dart_object_node.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/dart_object_node.dart", "repo_id": "devtools", "token_count": 4940 }
98
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'common_widgets.dart'; import 'config_specific/copy_to_clipboard/copy_to_clipboard.dart'; /// A widget that displays the contents of [entries]. /// /// It provides an interface that allows for removing, adding, /// and refreshing entries. class EditableList extends StatefulWidget { EditableList({ super.key, required this.entries, required this.textFieldLabel, required this.gaScreen, required this.gaRefreshSelection, this.isRefreshing, this.onRefreshTriggered, void Function(String)? onEntryAdded, void Function(String)? onEntryRemoved, }) : onEntryAdded = onEntryAdded ?? ((entry) => entries.add(entry)), onEntryRemoved = onEntryRemoved ?? ((entry) => entries.remove(entry)); /// The values that will be displayed in the editable list. /// /// If [onEntryAdded] or [onEntryRemoved] are left with their defaults, then /// [entries] will automatically have the values added or removed, when /// entries are added or removed in the interface. final ListValueNotifier<String> entries; /// The description label for textfield where new entries /// will be typed. final String textFieldLabel; /// A listenable that will replace the refresh button with a spinner, when /// set to true. final ValueListenable<bool>? isRefreshing; /// Triggered when an entry is added, using the interface. /// /// When not overridden, the default behaviour adds the entry to [entries] late final void Function(String) onEntryAdded; /// Triggered when an entry is removed, using the interface. /// /// When not overridden, the default behaviour removes the entry /// from [entries]. late final void Function(String) onEntryRemoved; /// Triggered when the refresh is triggered, using the interface. final void Function()? onRefreshTriggered; final String gaScreen; final String gaRefreshSelection; @override State<StatefulWidget> createState() => _EditableListState(); } class _EditableListState extends State<EditableList> { @override void initState() { super.initState(); textFieldController = TextEditingController(); } late final TextEditingController textFieldController; final FocusNode textFieldFocusNode = FocusNode(); @override void dispose() { textFieldController.dispose(); super.dispose(); } @override Widget build(BuildContext context) { return MultiValueListenableBuilder( listenables: [ widget.entries, widget.isRefreshing ?? ValueNotifier<bool>(false), ], builder: (_, __, ____) { return Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ EditableListActionBar( textFieldFocusNode: textFieldFocusNode, textFieldController: textFieldController, isRefreshing: widget.isRefreshing, textFieldLabel: widget.textFieldLabel, onEntryAdded: widget.onEntryAdded, onRefresh: widget.onRefreshTriggered, gaScreen: widget.gaScreen, gaRefreshSelection: widget.gaRefreshSelection, ), const SizedBox(height: defaultSpacing), Expanded( child: _EditableListContentView( entries: widget.entries, onEntryRemoved: widget.onEntryRemoved, ), ), ], ); }, ); } } @visibleForTesting class EditableListActionBar extends StatelessWidget { const EditableListActionBar({ Key? key, required this.textFieldFocusNode, required this.textFieldController, required this.isRefreshing, required this.textFieldLabel, required this.onEntryAdded, required this.onRefresh, required this.gaScreen, required this.gaRefreshSelection, }) : super(key: key); final FocusNode textFieldFocusNode; final TextEditingController textFieldController; final ValueListenable<bool>? isRefreshing; final String textFieldLabel; final void Function(String) onEntryAdded; final void Function()? onRefresh; final String gaScreen; final String gaRefreshSelection; void _addNewItem() { final value = textFieldController.value.text.trim(); textFieldController.clear(); if (value.isNotEmpty) { textFieldController.clear(); onEntryAdded(value); } textFieldFocusNode.requestFocus(); } @override Widget build(BuildContext context) { return SizedBox( height: defaultTextFieldHeight, child: Row( children: [ Expanded( child: DevToolsClearableTextField( controller: textFieldController, labelText: textFieldLabel, onSubmitted: (value) { _addNewItem(); }, ), ), const SizedBox(width: densePadding), TextButton( onPressed: () { _addNewItem(); }, child: const Text( 'Add', ), // TODO:(https://github.com/flutter/devtools/issues/4381) ), const SizedBox(width: densePadding), isRefreshing?.value ?? false ? SizedBox( width: defaultTextFieldHeight, height: defaultTextFieldHeight, child: const Padding( padding: EdgeInsets.all(densePadding), child: CircularProgressIndicator(), ), ) : RefreshButton( gaScreen: gaScreen, gaSelection: gaRefreshSelection, onPressed: onRefresh, minScreenWidthForTextBeforeScaling: double.maxFinite, ), ], ), ); } } class _EditableListContentView extends StatelessWidget { _EditableListContentView({ Key? key, required this.entries, required this.onEntryRemoved, }) : super(key: key); final ListValueNotifier<String> entries; final void Function(String) onEntryRemoved; final ScrollController _listContentScrollController = ScrollController(); @override Widget build(BuildContext context) { return Scrollbar( controller: _listContentScrollController, thumbVisibility: true, child: ListView.builder( controller: _listContentScrollController, itemCount: entries.value.length, itemBuilder: (context, index) { return EditableListRow( entry: entries.value[index], onEntryRemoved: onEntryRemoved, ); }, ), ); } } @visibleForTesting class EditableListRow extends StatelessWidget { const EditableListRow({ Key? key, required this.entry, required this.onEntryRemoved, }) : super(key: key); final String entry; final void Function(String) onEntryRemoved; @override Widget build(BuildContext context) { return Row( children: [ Expanded( child: Text(entry), ), EditableListCopyDirectoryButton( value: entry, ), const SizedBox(width: denseSpacing), EditableListRemoveDirectoryButton( onPressed: () { onEntryRemoved( entry, ); }, ), ], ); } } @visibleForTesting class EditableListCopyDirectoryButton extends StatelessWidget { const EditableListCopyDirectoryButton({ super.key, required this.value, }); final String value; @override Widget build(BuildContext context) { return DevToolsButton.iconOnly( icon: Icons.copy_outlined, outlined: false, onPressed: () { unawaited(copyToClipboard(value, 'Copied to clipboard.')); }, ); } } @visibleForTesting class EditableListRemoveDirectoryButton extends StatelessWidget { const EditableListRemoveDirectoryButton({super.key, this.onPressed}); final VoidCallback? onPressed; @override Widget build(BuildContext context) { return DevToolsButton.iconOnly( icon: Icons.delete, outlined: false, onPressed: onPressed, ); } }
devtools/packages/devtools_app/lib/src/shared/editable_list.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/editable_list.dart", "repo_id": "devtools", "token_count": 3364 }
99
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/service.dart'; import 'package:flutter/foundation.dart'; import '../../service/service_extensions.dart' as extensions; import '../globals.dart'; import '../primitives/utils.dart'; /// Enables or disables HTTP logging for all isolates. Future<void> toggleHttpRequestLogging(bool state) async { await serviceConnection.serviceManager.service! .forEachIsolate((isolate) async { final httpLoggingAvailable = await serviceConnection.serviceManager.service! .isHttpTimelineLoggingAvailableWrapper(isolate.id!); if (httpLoggingAvailable) { final future = serviceConnection.serviceManager.service! .httpEnableTimelineLoggingWrapper( isolate.id!, state, ); // The above call won't complete immediately if the isolate is paused, so // give up waiting after 500ms. However, the call will complete eventually // if the isolate is eventually resumed. // TODO(jacobr): detect whether the isolate is paused using the vm // service and handle this case gracefully rather than timing out. await timeout(future, 500); } }); } bool get httpLoggingEnabled => httpLoggingState.value.enabled; ValueListenable<ServiceExtensionState> get httpLoggingState => serviceConnection.serviceManager.serviceExtensionManager .getServiceExtensionState( extensions.httpEnableTimelineLogging.extension, );
devtools/packages/devtools_app/lib/src/shared/http/http_service.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/http/http_service.dart", "repo_id": "devtools", "token_count": 513 }
100
// Copyright 2024 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of 'preferences.dart'; /// Preferences for the Performance screen that are persisted to local storage. class PerformancePreferencesController extends DisposableController with AutoDisposeControllerMixin { /// Whether the Flutter frames chart should be visible or hidden. final showFlutterFramesChart = ValueNotifier<bool>(true); /// Whether CPU samples should be included in the Perfetto timeline. final includeCpuSamplesInTimeline = ValueNotifier<bool>(false); static final _showFlutterFramesChartId = '${gac.performance}.${gac.PerformanceEvents.framesChartVisibility.name}'; static final _includeCpuSamplesInTimelineId = '${gac.performance}.${gac.PerformanceEvents.includeCpuSamplesInTimeline.name}'; Future<void> init() async { addAutoDisposeListener( showFlutterFramesChart, () { storage.setValue( _showFlutterFramesChartId, showFlutterFramesChart.value.toString(), ); ga.select( gac.performance, gac.PerformanceEvents.framesChartVisibility.name, value: showFlutterFramesChart.value ? 1 : 0, ); }, ); showFlutterFramesChart.value = await boolValueFromStorage( _showFlutterFramesChartId, defaultsTo: true, ); addAutoDisposeListener( includeCpuSamplesInTimeline, () { storage.setValue( _includeCpuSamplesInTimelineId, includeCpuSamplesInTimeline.value.toString(), ); ga.select( gac.performance, gac.PerformanceEvents.includeCpuSamplesInTimeline.name, value: includeCpuSamplesInTimeline.value ? 1 : 0, ); }, ); includeCpuSamplesInTimeline.value = await boolValueFromStorage( _includeCpuSamplesInTimelineId, defaultsTo: false, ); } }
devtools/packages/devtools_app/lib/src/shared/preferences/_performance_preferences.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/preferences/_performance_preferences.dart", "repo_id": "devtools", "token_count": 751 }
101
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Package name prefixes. class PackagePrefixes { /// Packages from the core Dart libraries as they are listed /// in heap snapshot. static const dartInSnapshot = 'dart.'; /// Packages from the core Dart libraries as they are listed /// in import statements. static const dart = 'dart:'; /// Generic dart package. static const genericDartPackage = 'package:'; /// Packages from the core Flutter libraries. static const flutterPackage = 'package:flutter/'; /// The Flutter namespace in C++ that is part of the Flutter Engine code. static const flutterEngine = 'flutter::'; /// dart:ui is the library for the Dart part of the Flutter Engine code. static const dartUi = 'dart:ui'; } const String traceEventsFieldName = 'traceEvents'; const closureName = '<closure>'; const anonymousClosureName = '<anonymous closure>'; const _memoryDocUrl = 'https://docs.flutter.dev/development/tools/devtools/memory'; const _consoleDocUrl = 'https://docs.flutter.dev/development/tools/devtools/console'; const _inspectorDocUrl = 'https://docs.flutter.dev/tools/devtools/inspector'; /// Some links to documentation. /// /// The enum is test covered to catch broken links. enum DocLinks { chart(_memoryDocUrl, 'expandable-chart'), profile(_memoryDocUrl, 'profile-memory-tab'), diff(_memoryDocUrl, 'diff-snapshots-tab'), trace(_memoryDocUrl, 'trace-instances-tab'), console(_consoleDocUrl, null), inspectorPackageDirectories(_inspectorDocUrl, 'package-directories'); const DocLinks(this.url, this.hash); final String url; final String? hash; String get value { if (hash == null) return url; return '$url#$hash'; } }
devtools/packages/devtools_app/lib/src/shared/primitives/simple_items.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/simple_items.dart", "repo_id": "devtools", "token_count": 546 }
102
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file. part of 'server.dart'; /// Requests the DevTools version for which we last showed release notes. /// /// This value is stored in the file '~/.flutter-devtools/.devtools'. Future<String> getLastShownReleaseNotesVersion() async { String version = ''; if (isDevToolsServerAvailable) { final resp = await request(apiGetLastReleaseNotesVersion); if (resp?.statusOk ?? false) { version = json.decode(resp!.body); } else { logWarning(resp, apiGetLastReleaseNotesVersion); } } return version; } /// Sets the DevTools version for which we last showed release notes. /// /// This value is stored in the file '~/.flutter-devtools/.devtools'. Future<void> setLastShownReleaseNotesVersion(String version) async { if (isDevToolsServerAvailable) { final resp = await request( '$apiSetLastReleaseNotesVersion' '?$lastReleaseNotesVersionPropertyName=$version', ); if (resp == null || !resp.statusOk || !(json.decode(resp.body) as bool)) { logWarning(resp, apiSetLastReleaseNotesVersion); } } }
devtools/packages/devtools_app/lib/src/shared/server/_release_notes_api.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/server/_release_notes_api.dart", "repo_id": "devtools", "token_count": 388 }
103
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'api/impl/dart_tooling_api.dart'; import 'vs_code/flutter_panel.dart'; /// "Screens" that are intended for standalone use only, likely for embedding /// directly in an IDE. /// /// A standalone screen is one that will only be available at a specific route, /// meaning that this screen will not be part of DevTools' normal navigation. /// The only way to access a standalone screen is directly from the url. enum StandaloneScreenType { vsCodeFlutterPanel; // TODO(dantup): This seems unused, is it needed? static StandaloneScreenType? parse(String? id) { if (id == null) return null; for (final type in StandaloneScreenType.values) { if (type.name == id) return type; } return null; } Widget get screen { return switch (this) { StandaloneScreenType.vsCodeFlutterPanel => VsCodeFlutterPanel(DartToolingApiImpl.postMessage()), }; } }
devtools/packages/devtools_app/lib/src/standalone_ui/standalone_screen.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/standalone_ui/standalone_screen.dart", "repo_id": "devtools", "token_count": 348 }
104
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/mockito.dart'; void main() { group('ProfilerScreenController', () { late ProfilerScreenController controller; final fakeServiceConnection = FakeServiceConnectionManager(); when(fakeServiceConnection.serviceManager.connectedApp!.isFlutterAppNow) .thenReturn(false); setUp(() { setGlobal( DevToolsEnvironmentParameters, ExternalDevToolsEnvironmentParameters(), ); setGlobal(ServiceConnectionManager, fakeServiceConnection); setGlobal(OfflineModeController, OfflineModeController()); setGlobal(PreferencesController, PreferencesController()); controller = ProfilerScreenController(); }); test('start and stop recording', () async { expect(controller.recordingNotifier.value, isFalse); await controller.startRecording(); expect(controller.recordingNotifier.value, isTrue); await controller.stopRecording(); expect(controller.recordingNotifier.value, isFalse); }); test('disposes', () { controller.dispose(); expect( () { controller.recordingNotifier.addListener(() {}); }, throwsA(anything), ); expect( () { controller.cpuProfilerController.dataNotifier.addListener(() {}); }, throwsA(anything), ); expect( () { controller.cpuProfilerController.selectedCpuStackFrameNotifier .addListener(() {}); }, throwsA(anything), ); }); }); }
devtools/packages/devtools_app/test/cpu_profiler/profiler_screen_controller_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/cpu_profiler/profiler_screen_controller_test.dart", "repo_id": "devtools", "token_count": 700 }
105
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:codicon/codicon.dart'; import 'package:collection/collection.dart'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/debugger/debugger_model.dart'; import 'package:devtools_app/src/shared/console/widgets/console_pane.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:devtools_test/helpers.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/mockito.dart'; import 'package:vm_service/vm_service.dart'; import '../test_infra/test_data/debugger/vm_service_object_tree.dart'; import '../test_infra/utils/debugger_utils.dart'; import '../test_infra/utils/test_utils.dart'; import '../test_infra/utils/tree_utils.dart'; void main() { final screen = DebuggerScreen(); const windowSize = Size(4000.0, 4000.0); const smallWindowSize = Size(1200.0, 1100.0); late MockDebuggerController debuggerController; late TestProgramExplorerController programExplorerController; late VMServiceObjectNode libraryNode; setUp(() async { final fakeServiceConnection = FakeServiceConnectionManager(); final scriptManager = MockScriptManager(); when(scriptManager.getScript(any)).thenAnswer( (_) => Future<Script>.value(testScript), ); mockConnectedApp( fakeServiceConnection.serviceManager.connectedApp!, isFlutterApp: true, isProfileBuild: false, isWebApp: false, ); setGlobal(ServiceConnectionManager, fakeServiceConnection); setGlobal(IdeTheme, IdeTheme()); setGlobal(ScriptManager, scriptManager); setGlobal(NotificationService, NotificationService()); setGlobal(BreakpointManager, BreakpointManager()); setGlobal(EvalService, MockEvalService()); setGlobal( DevToolsEnvironmentParameters, ExternalDevToolsEnvironmentParameters(), ); setGlobal(PreferencesController, PreferencesController()); fakeServiceConnection.consoleService.ensureServiceInitialized(); when(fakeServiceConnection.errorBadgeManager.errorCountNotifier('debugger')) .thenReturn(ValueNotifier<int>(0)); programExplorerController = TestProgramExplorerController( initializer: (controller) { libraryNode = VMServiceObjectNode(controller, 'fooLib', testLib); libraryNode.script = testScript; libraryNode.location = ScriptLocation(testScript); controller.rootObjectNodesInternal.add(libraryNode); }, ); await programExplorerController.initialize(); await programExplorerController.selectNode(libraryNode); final codeViewController = createMockCodeViewControllerWithDefaults( programExplorerController: programExplorerController, ); when(codeViewController.showFileOpener).thenReturn(ValueNotifier(false)); when(codeViewController.fileExplorerVisible) .thenReturn(ValueNotifier(true)); debuggerController = createMockDebuggerControllerWithDefaults( codeViewController: codeViewController, ); }); Future<void> pumpConsole( WidgetTester tester, DebuggerController controller, ) async { await tester.pumpWidget( wrapWithControllers( Row( children: [ Flexible(child: ConsolePaneHeader()), const Expanded(child: ConsolePane()), ], ), debugger: controller, ), ); } testWidgets('builds its tab', (WidgetTester tester) async { await tester.pumpWidget(wrap(Builder(builder: screen.buildTab))); expect(find.text('Debugger'), findsOneWidget); }); testWidgetsWithWindowSize( 'has Console / stdio area', windowSize, (WidgetTester tester) async { serviceConnection.consoleService.appendStdio('test stdio'); await pumpConsole(tester, debuggerController); expect(find.text('Console'), findsOneWidget); // test for stdio output. expect(find.text('test stdio'), findsOneWidget); }, ); testWidgetsWithWindowSize( 'debugger controls running', windowSize, (WidgetTester tester) async { await tester.pumpWidget( wrapWithControllers( Builder(builder: screen.build), debugger: debuggerController, ), ); expect( findDebuggerButtonWithIcon(Codicons.debugPause), findsOneWidget, ); final pause = getWidgetFromFinder<OutlinedButton>( findDebuggerButtonWithIcon(Codicons.debugPause), ); expect(pause.onPressed, isNotNull); expect( findDebuggerButtonWithIcon(Codicons.debugContinue), findsOneWidget, ); final resume = getWidgetFromFinder<OutlinedButton>( findDebuggerButtonWithIcon(Codicons.debugContinue), ); expect(resume.onPressed, isNull); }, ); testWidgetsWithWindowSize( 'debugger controls break on exceptions', windowSize, (WidgetTester tester) async { await tester.pumpWidget( wrapWithControllers( Builder(builder: screen.build), debugger: debuggerController, ), ); expect( find.text("Don't stop on exceptions", skipOffstage: false), findsOneWidget, ); }, ); testWidgetsWithWindowSize( 'debugger controls break on exceptions abbreviated on small window', smallWindowSize, (WidgetTester tester) async { await tester.pumpWidget( wrapWithControllers( Builder(builder: screen.build), debugger: debuggerController, ), ); expect( find.text('Ignore exceptions', skipOffstage: false), findsOneWidget, ); }, ); testWidgetsWithWindowSize( 'node selection state', windowSize, (WidgetTester tester) async { await tester.pumpWidget( wrapWithControllers( Builder(builder: screen.build), debugger: debuggerController, ), ); final delegate = tester .firstWidget<MaterialApp>(find.byType(MaterialApp)) .routerDelegate as DevToolsRouterDelegate; final libNode = programExplorerController.rootObjectNodes.value.first; final libScript = libraryNode.script!; final libScriptRef = ScriptRef( id: libScript.id!, uri: libScript.uri, ); // Select the library node and ensure the outline is populated. final libNodeFinder = find.text(libNode.name); expect(libNodeFinder, findsOneWidget); await tester.tap(libNodeFinder); await tester.pump(); expect(programExplorerController.scriptSelection, libNode); CodeViewSourceLocationNavigationState? state = CodeViewSourceLocationNavigationState.fromState( delegate.currentConfiguration!.state, ); expect(state, isNotNull); expect(state!.script, libScriptRef); expect(state.line, 0); // There should be three children total, one root with two children. expect(programExplorerController.outlineNodes.value.length, 1); expect(programExplorerController.outlineNodes.value.numNodes, 3); // Select one of them and check that the outline selection has been // updated. final outlineNode = programExplorerController.outlineNodes.value.first; final outlineNodeFinder = find.text(outlineNode.name); expect(outlineNodeFinder, findsOneWidget); await tester.tap(outlineNodeFinder); await tester.pump(); expect(programExplorerController.scriptSelection, libNode); expect( programExplorerController.outlineNodes.value .singleWhereOrNull((e) => e.isSelected), outlineNode, ); state = CodeViewSourceLocationNavigationState.fromState( delegate.currentConfiguration!.state, ); expect(state, isNotNull); expect(state!.script, libScriptRef); expect(state.line, testClassRef.location!.line); }, ); }
devtools/packages/devtools_app/test/debugger/debugger_screen_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/debugger/debugger_screen_test.dart", "repo_id": "devtools", "token_count": 3010 }
106
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:devtools_test/helpers.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { setUp(() { setGlobal(ServiceConnectionManager, FakeServiceConnectionManager()); setGlobal(IdeTheme, IdeTheme()); }); group('Inspector Error Navigator', () { Future<void> testNavigate( WidgetTester tester, { required IconData tapIcon, required int errorCount, int? startIndex, int? expectedIndex, }) async { var index = startIndex; final navigator = ErrorNavigator( errorIndex: index, errors: _generateErrors(errorCount), onSelectError: (newIndex) => index = newIndex, ); await tester.pumpWidget(wrap(navigator)); await tester.tap(find.byIcon(tapIcon)); expect(index, equals(expectedIndex)); } testWidgets('shows count when no selection', (WidgetTester tester) async { await tester.pumpWidget( wrap( ErrorNavigator( errorIndex: null, errors: _generateErrors(10), onSelectError: (_) {}, ), ), ); expect(find.text('Errors: 10'), findsOneWidget); }); testWidgets('shows x/y when selected error', (WidgetTester tester) async { await tester.pumpWidget( wrap( ErrorNavigator( errorIndex: 0, errors: _generateErrors(10), onSelectError: (_) {}, ), ), ); expect(find.text('Error 1/10'), findsOneWidget); }); testWidgets( 'can navigate forwards', // Intentionally unawaited. // ignore: discarded_futures (WidgetTester tester) => testNavigate( tester, tapIcon: Icons.keyboard_arrow_down, errorCount: 10, startIndex: 5, expectedIndex: 6, ), ); testWidgets( 'can navigate backwards', // Intentionally unawaited. // ignore: discarded_futures (WidgetTester tester) => testNavigate( tester, tapIcon: Icons.keyboard_arrow_up, errorCount: 10, startIndex: 5, expectedIndex: 4, ), ); testWidgets( 'wraps forwards', // Intentionally unawaited. // ignore: discarded_futures (WidgetTester tester) => testNavigate( tester, tapIcon: Icons.keyboard_arrow_down, errorCount: 10, startIndex: 9, expectedIndex: 0, ), ); testWidgets( 'wraps backwards', // Intentionally unawaited. // ignore: discarded_futures (WidgetTester tester) => testNavigate( tester, tapIcon: Icons.keyboard_arrow_up, errorCount: 10, startIndex: 0, expectedIndex: 9, ), ); }); } LinkedHashMap<String, InspectableWidgetError> _generateErrors(int count) => LinkedHashMap<String, InspectableWidgetError>.fromEntries( List.generate( count, (index) => MapEntry( 'error-$index', InspectableWidgetError( 'Error $index', 'error-$index', ), ), ), );
devtools/packages/devtools_app/test/inspector/inspector_error_navigator_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/inspector/inspector_error_navigator_test.dart", "repo_id": "devtools", "token_count": 1573 }
107
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; /// This class is merely a duplicate of the InspectorSerializationDelegate inside the `assets/scripts/inspector_polyfill_script.dart`. /// This delegate is used for testing Widget Diagnostics Node so that we don't have to create manual JSON each time we want to create new test cases. /// TODO(adalberht): Ask Jacob on what's the better solution on code reuse between the Layout Explorer polyfillscripts and the code inside test package? class LayoutExplorerSerializationDelegate extends InspectorSerializationDelegate { LayoutExplorerSerializationDelegate({ String groupName = '', int subtreeDepth = 1, required WidgetInspectorService service, }) : super( groupName: groupName, subtreeDepth: subtreeDepth, service: service, summaryTree: true, addAdditionalPropertiesCallback: (node, delegate) { final additionalJson = <String, Object>{}; final Object? value = node.value; if (value is Element) { final renderObject = value.renderObject!; additionalJson['renderObject'] = renderObject.toDiagnosticsNode().toJsonMap( delegate.copyWith( subtreeDepth: 0, includeProperties: true, ), ); // Required for test. // ignore: invalid_use_of_protected_member final Constraints constraints = renderObject.constraints; final constraintsProperty = <String, Object>{ 'type': constraints.runtimeType.toString(), 'description': constraints.toString(), }; if (constraints is BoxConstraints) { constraintsProperty.addAll(<String, Object>{ 'minWidth': constraints.minWidth.toString(), 'minHeight': constraints.minHeight.toString(), 'maxWidth': constraints.maxWidth.toString(), 'maxHeight': constraints.maxHeight.toString(), }); } additionalJson['constraints'] = constraintsProperty; if (renderObject is RenderBox) { additionalJson['size'] = <String, Object>{ 'width': renderObject.size.width.toString(), 'height': renderObject.size.height.toString(), }; final ParentData? parentData = renderObject.parentData; if (parentData is FlexParentData) { additionalJson['flexFactor'] = parentData.flex ?? 0; additionalJson['flexFit'] = (parentData.fit ?? FlexFit.tight).name; } } } return additionalJson; }, ); }
devtools/packages/devtools_app/test/inspector/layout_explorer/layout_explorer_serialization_delegate.dart/0
{ "file_path": "devtools/packages/devtools_app/test/inspector/layout_explorer/layout_explorer_serialization_delegate.dart", "repo_id": "devtools", "token_count": 1368 }
108
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/screens/memory/panes/diff/data/classes_diff.dart'; import 'package:devtools_app/src/screens/memory/panes/diff/data/heap_diff_store.dart'; import 'package:devtools_app/src/screens/memory/shared/heap/heap.dart'; import 'package:devtools_app/src/shared/memory/adapted_heap_data.dart'; import 'package:devtools_app/src/shared/memory/adapted_heap_object.dart'; import 'package:devtools_app/src/shared/memory/class_name.dart'; import 'package:devtools_app/src/shared/memory/retainers.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test( '$HeapDiffStore does not create new $DiffHeapClasses for the same couple', () async { final heap1 = await _createSimplestHeap(); final heap2 = await _createSimplestHeap(); expect(heap1 == heap2, false); final store = HeapDiffStore(); final couple1 = identityHashCode(store.compare(heap1, heap2)); final couple2 = identityHashCode(store.compare(heap1, heap2)); final couple3 = identityHashCode(store.compare(heap2, heap1)); expect(couple1, couple2); expect(couple1, couple3); }, ); test('$DiffClassData calculates mix of cases as expected', () async { final className = HeapClassName.fromPath(className: 'myClass', library: 'library'); final deleted = _createObject(className, 1, {}); final persistedBefore = _createObject(className, 2, {}); final persistedAfter = _createObject(className, 2, {}); final created1 = _createObject(className, 3, {}); final created2 = _createObject(className, 4, {}); final statsBefore = await _createClassStats({deleted, persistedBefore}); final statsAfter = await _createClassStats({persistedAfter, created1, created2}); final stats = DiffClassData.diff(before: statsBefore, after: statsAfter)!; expect(stats.heapClass, className); expect(stats.total.created.instanceCount, 2); expect(stats.total.deleted.instanceCount, 1); expect(stats.total.delta.instanceCount, 1); expect(stats.total.persisted.instanceCount, 1); }); test('$DiffClassData calculates deletion as expected', () async { final className = HeapClassName.fromPath(className: 'myClass', library: 'library'); final deleted = _createObject(className, 1, {}); final statsBefore = await _createClassStats({deleted}); final stats = DiffClassData.diff(before: statsBefore, after: null)!; expect(stats.heapClass, className); expect(stats.total.created.instanceCount, 0); expect(stats.total.deleted.instanceCount, 1); expect(stats.total.delta.instanceCount, -1); expect(stats.total.persisted.instanceCount, 0); }); } Future<SingleClassStats> _createClassStats( Set<AdaptedHeapObject> instances, ) async { final indexes = Iterable<int>.generate(instances.length).map((i) => i + 1).toSet(); final objects = [ _createObject( HeapClassName.fromPath(className: 'root', library: 'lib'), 0, indexes, ), ...instances, ]; final heap = AdaptedHeapData( objects, rootIndex: 0, ); await calculateHeap(heap); final result = SingleClassStats(heapClass: instances.first.heapClass); for (var index in indexes) { result.countInstance(heap, index); } return result; } AdaptedHeapObject _createObject( HeapClassName className, int code, Set<int> references, ) => AdaptedHeapObject( code: code, outRefs: references, heapClass: className, shallowSize: 1, ); Future<AdaptedHeap> _createSimplestHeap() async => await AdaptedHeap.create( AdaptedHeapData( [ AdaptedHeapObject( code: 0, outRefs: {}, heapClass: HeapClassName.fromPath(className: 'root', library: 'lib'), shallowSize: 1, ), ], rootIndex: 0, ), );
devtools/packages/devtools_app/test/memory/diff/controller/heap_diff_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/memory/diff/controller/heap_diff_test.dart", "repo_id": "devtools", "token_count": 1530 }
109
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @TestOn('vm') import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/network/network_request_inspector.dart'; import 'package:devtools_app/src/screens/network/network_request_inspector_views.dart'; import 'package:devtools_app/src/shared/http/http.dart'; import 'package:devtools_app/src/shared/ui/tab.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:devtools_test/helpers.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:vm_service/vm_service.dart'; import '../test_infra/test_data/network.dart'; import 'utils/network_test_utils.dart'; NetworkController controller = NetworkController(); DebuggerController debugController = DebuggerController(); Future<void> pumpNetworkScreen(WidgetTester tester) async { await tester.pumpWidget( wrapWithControllers( const NetworkScreenBody(), network: controller, debugger: debugController, ), ); final finder = find.byType(NetworkScreenBody); expect(finder, findsOneWidget); } /// Clears the timeouts created when calling getHttpTimelineLogging and /// setHttpTimelineLogging RPCs. Future<void> clearTimeouts(WidgetTester tester) async { await tester.pumpAndSettle(const Duration(seconds: 1)); } void main() { late FakeServiceConnectionManager fakeServiceConnection; late SocketProfile socketProfile; late HttpProfile httpProfile; const windowSize = Size(1599.0, 1000.0); setUpAll(() { socketProfile = loadSocketProfile(); httpProfile = loadHttpProfile(); setGlobal(IdeTheme, IdeTheme()); setGlobal( DevToolsEnvironmentParameters, ExternalDevToolsEnvironmentParameters(), ); setGlobal(PreferencesController, PreferencesController()); setGlobal(NotificationService, NotificationService()); setGlobal(BreakpointManager, BreakpointManager()); }); group('Network Profiler', () { setUp(() { fakeServiceConnection = FakeServiceConnectionManager( service: FakeServiceManager.createFakeService( socketProfile: socketProfile, httpProfile: httpProfile, ), ); setGlobal(ServiceConnectionManager, fakeServiceConnection); }); testWidgetsWithWindowSize('starts and stops', windowSize, ( WidgetTester tester, ) async { controller = NetworkController(); // Ensure we're not recording initially. expect(controller.isPolling, false); expect(controller.recordingNotifier.value, false); await pumpNetworkScreen(tester); await tester.pumpAndSettle(); // Check that we're polling. expect(controller.isPolling, true); expect(controller.recordingNotifier.value, true); // Pause recording. expect(find.byType(PauseButton), findsOneWidget); await tester.tap(find.byType(PauseButton)); await tester.pumpAndSettle(); // Check that we've stopped polling. expect(controller.isPolling, false); expect(controller.recordingNotifier.value, false); await clearTimeouts(tester); }); Future<void> loadRequestsAndCheck(WidgetTester tester) async { expect(find.byType(ResumeButton), findsOneWidget); expect(find.byType(PauseButton), findsOneWidget); expect(find.byType(ClearButton), findsOneWidget); expect(find.byType(SplitPane), findsOneWidget); // Advance the clock to populate the network requests table. await tester.pump(const Duration(seconds: 2)); expect(find.byType(CircularProgressIndicator), findsNothing); expect(controller.requests.value, isNotEmpty); } // We should see the list of requests and the inspector, but have no // selected request. void expectNoSelection() { expect(find.byType(NetworkRequestsTable), findsOneWidget); expect(find.byType(NetworkRequestInspector), findsOneWidget); expect(find.text('No request selected'), findsOneWidget); expect(controller.selectedRequest.value, isNull); } testWidgetsWithWindowSize( 'builds proper content for state', windowSize, (WidgetTester tester) async { controller = NetworkController(); await pumpNetworkScreen(tester); await loadRequestsAndCheck(tester); expectNoSelection(); Future<void> validateHeadersTab(DartIOHttpRequestData data) async { // Switch to headers tab. await tester.tap( find.descendant( of: find.byType(DevToolsTab), matching: find.text('Headers'), ), ); await tester.pumpAndSettle(); expect(find.byType(NetworkRequestOverviewView), findsNothing); expect(find.byType(HttpRequestHeadersView), findsOneWidget); expect(find.byType(HttpResponseView), findsNothing); expect(find.byType(HttpRequestCookiesView), findsNothing); // TODO(kenz): move the headers tab validation into its own testing // group (see NetworkRequestOverviewView test group). // There should be three tiles: general, response headers, and request // headers. expect(find.byType(ExpansionTile), findsNWidgets(3)); // Check contents of general. final ExpansionTile generalTile = tester.widget(find.byKey(HttpRequestHeadersView.generalKey)); final numGeneralEntries = data.general.length; expect(generalTile.children.length, numGeneralEntries); // Check contents of request headers. final ExpansionTile requestsTile = tester .widget(find.byKey(HttpRequestHeadersView.requestHeadersKey)); final numRequestHeaders = data.requestHeaders?.length ?? 0; expect(requestsTile.children.length, numRequestHeaders); // Check contents of response headers. final ExpansionTile responsesTile = tester .widget(find.byKey(HttpRequestHeadersView.responseHeadersKey)); final numResponseHeaders = data.responseHeaders?.length ?? 0; expect(responsesTile.children.length, numResponseHeaders); } Future<void> validateResponseTab(DartIOHttpRequestData data) async { if (data.responseBody != null) { // Switch to response tab. await tester.tap( find.descendant( of: find.byType(DevToolsTab), matching: find.text('Response'), ), ); await tester.pumpAndSettle(); expect(find.byType(HttpResponseTrailingDropDown), findsOneWidget); expect(find.byType(HttpViewTrailingCopyButton), findsOneWidget); expect(find.byType(NetworkRequestOverviewView), findsNothing); expect(find.byType(HttpRequestHeadersView), findsNothing); expect(find.byType(HttpResponseView), findsOneWidget); expect(find.byType(HttpRequestCookiesView), findsNothing); } } Future<void> validateOverviewTab() async { // Switch to overview tab. await tester.tap( find.descendant( of: find.byType(DevToolsTab), matching: find.text('Overview'), ), ); await tester.pumpAndSettle(); expect(find.byType(NetworkRequestOverviewView), findsOneWidget); expect(find.byType(HttpRequestHeadersView), findsNothing); expect(find.byType(HttpResponseView), findsNothing); expect(find.byType(HttpRequestCookiesView), findsNothing); } Future<void> validateCookiesTab(DartIOHttpRequestData data) async { final httpRequest = controller.selectedRequest.value as DartIOHttpRequestData; final hasCookies = httpRequest.hasCookies; if (hasCookies) { // Switch to cookies tab. await tester.tap( find.descendant( of: find.byType(DevToolsTab), matching: find.text('Cookies'), ), ); await tester.pumpAndSettle(); expect(find.byType(NetworkRequestOverviewView), findsNothing); expect(find.byType(HttpRequestHeadersView), findsNothing); expect(find.byType(HttpResponseView), findsNothing); expect(find.byType(HttpRequestCookiesView), findsOneWidget); // TODO(kenz): move the cookie tab validation into its own testing // group (see NetworkRequestOverviewView test group). // Checks the contents of a cookies table to ensure it's well formed. void validateCookieTable(List<Cookie> cookies, Key key) { expect( find.byKey(key), findsOneWidget, ); final cookieCount = cookies.length; final DataTable cookiesTable = tester.widget( find.byKey(key), ); expect(cookiesTable.rows.length, cookieCount); } // Check the request cookies table. if (data.requestCookies.isNotEmpty) { validateCookieTable( data.requestCookies, HttpRequestCookiesView.requestCookiesKey, ); } // Check the response cookies table. if (data.responseCookies.isNotEmpty) { validateCookieTable( data.responseCookies, HttpRequestCookiesView.responseCookiesKey, ); } } else { // The cookies tab shouldn't be displayed if there are no cookies // associated with the request. expect( find.descendant( of: find.byType(DevToolsTab), matching: find.text('Cookies'), ), findsNothing, ); } } for (final request in controller.requests.value) { controller.selectedRequest.value = request; await tester.pumpAndSettle(); expect(find.text('No request selected'), findsNothing); final selection = controller.selectedRequest.value!; if (selection is DartIOHttpRequestData) { await validateHeadersTab(selection); await validateResponseTab(selection); await validateCookiesTab(selection); } await validateOverviewTab(); } // Pause recording. await tester.tap(find.byType(PauseButton)); await tester.pump(); await clearTimeouts(tester); }, ); // Regression test for https://github.com/flutter/devtools/issues/3286. testWidgetsWithWindowSize( 'can select by clicking on url', windowSize, (WidgetTester tester) async { // Load the network profiler screen. controller = NetworkController(); await pumpNetworkScreen(tester); // Populate the screen with requests. await loadRequestsAndCheck(tester); expectNoSelection(); final textElement = tester.element( find.text('https://jsonplaceholder.typicode.com/albums/1').first, ); final selectableTextWidget = textElement.findAncestorWidgetOfExactType<SelectableText>()!; await tester.tap(find.byWidget(selectableTextWidget)); await tester.pumpAndSettle(); expect(controller.selectedRequest.value, isNotNull); expect(find.text('No request selected'), findsNothing); }, ); testWidgetsWithWindowSize( 'clear results', windowSize, (WidgetTester tester) async { // Load the network profiler screen. controller = NetworkController(); await pumpNetworkScreen(tester); // Populate the screen with requests. await loadRequestsAndCheck(tester); // Pause the profiler. await tester.tap(find.byType(PauseButton)); await tester.pumpAndSettle(); // Clear the results. await tester.tap(find.byType(ClearButton)); // Wait to ensure all the timers have been cancelled. await tester.pumpAndSettle(const Duration(seconds: 2)); }, ); }); group('NetworkRequestOverviewView', () { Future<void> pumpView(WidgetTester tester, NetworkRequest data) async { final widget = wrap(NetworkRequestOverviewView(data)); await tester.pumpWidget(widget); await tester.pumpAndSettle(); expect(find.byType(NetworkRequestOverviewView), findsOneWidget); } testWidgetsWithWindowSize( 'displays for http request', windowSize, (tester) async { final data = httpGet; await pumpView(tester, data); // Verify general information. expect(find.text('Request uri: '), findsOneWidget); expect( find.text('https://jsonplaceholder.typicode.com/albums/1'), findsOneWidget, ); expect(find.text('Method: '), findsOneWidget); expect(find.text('GET'), findsOneWidget); expect(find.text('Status: '), findsOneWidget); expect(find.text('200'), findsOneWidget); expect(find.text('Port: '), findsOneWidget); expect(find.text('45648'), findsOneWidget); expect(find.text('Content type: '), findsOneWidget); expect(find.text('[application/json; charset=utf-8]'), findsOneWidget); // Verify timing information. expect(find.text('Timing: '), findsOneWidget); expect(find.text('Start time: '), findsOneWidget); expect(find.text(formatDateTime(data.startTimestamp)), findsOneWidget); expect(find.text('End time: '), findsOneWidget); expect(find.text(formatDateTime(data.endTimestamp!)), findsOneWidget); expect( find.byKey(NetworkRequestOverviewView.httpTimingGraphKey), findsOneWidget, ); expect(find.text('Connection established: '), findsOneWidget); expect( find.text('[0.0 ms - 529.0 ms] → 529.0 ms total'), findsOneWidget, ); expect(find.text('Request sent: '), findsOneWidget); expect( find.text('[529.0 ms - 529.0 ms] → 0.0 ms total'), findsOneWidget, ); expect(find.text('Waiting (TTFB): '), findsOneWidget); expect( find.text('[529.0 ms - 810.7 ms] → 281.7 ms total'), findsOneWidget, ); expect(find.text('Content Download: '), findsOneWidget); expect( find.text('[810.7 ms - 811.7 ms] → 1.0 ms total'), findsOneWidget, ); }, ); testWidgetsWithWindowSize( 'displays for http request with error', windowSize, (tester) async { final data = httpGetWithError; await pumpView(tester, data); // Verify general information. expect(find.text('Request uri: '), findsOneWidget); expect(find.text('https://www.examplez.com/1'), findsOneWidget); expect(find.text('Method: '), findsOneWidget); expect(find.text('GET'), findsOneWidget); expect(find.text('Status: '), findsOneWidget); expect(find.text('Error'), findsOneWidget); expect(find.text('Port: '), findsNothing); expect(find.text('Content type: '), findsNothing); // Verify timing information. expect(find.text('Timing: '), findsOneWidget); expect(find.text('Start time: '), findsOneWidget); expect(find.text(formatDateTime(data.startTimestamp)), findsOneWidget); expect(find.text('End time: '), findsOneWidget); expect(find.text(formatDateTime(data.endTimestamp!)), findsOneWidget); expect( find.byKey(NetworkRequestOverviewView.httpTimingGraphKey), findsOneWidget, ); expect(find.text('Connection established: '), findsNothing); expect(find.text('Request sent: '), findsNothing); expect(find.text('Waiting (TTFB): '), findsNothing); expect(find.text('Content Download: '), findsNothing); }, ); testWidgetsWithWindowSize( 'displays for closed web socket request', windowSize, (tester) async { final data = testSocket1; await pumpView(tester, data); // Verify general information. expect(find.text('Request uri: '), findsOneWidget); expect( find.text('InternetAddress(\'2606:4700:3037::ac43:bd8f\', IPv6)'), findsOneWidget, ); expect(find.text('Method: '), findsOneWidget); expect(find.text('GET'), findsOneWidget); expect(find.text('Status: '), findsOneWidget); expect(find.text('101'), findsOneWidget); expect(find.text('Port: '), findsOneWidget); expect(find.text('443'), findsOneWidget); expect(find.text('Content type: '), findsOneWidget); expect(find.text('websocket'), findsOneWidget); expect(find.text('Socket id: '), findsOneWidget); expect(find.text('10000'), findsOneWidget); expect(find.text('Socket type: '), findsOneWidget); expect(find.text('tcp'), findsOneWidget); expect(find.text('Read bytes: '), findsOneWidget); expect(find.text('10'), findsOneWidget); expect(find.text('Write bytes: '), findsOneWidget); expect(find.text('15'), findsOneWidget); // Verify timing information. expect(find.text('Timing: '), findsOneWidget); expect(find.text('Start time: '), findsOneWidget); expect(find.text(formatDateTime(data.startTimestamp)), findsOneWidget); expect(find.text('End time: '), findsOneWidget); expect(find.text(formatDateTime(data.endTimestamp!)), findsOneWidget); expect( find.byKey(NetworkRequestOverviewView.socketTimingGraphKey), findsOneWidget, ); expect(find.text('Last read time: '), findsOneWidget); expect( find.text(formatDateTime(data.lastReadTimestamp!)), findsOneWidget, ); expect(find.text('Last write time: '), findsOneWidget); expect( find.text(formatDateTime(data.lastWriteTimestamp!)), findsOneWidget, ); }, ); testWidgetsWithWindowSize( 'displays for open web socket request', windowSize, (tester) async { final data = testSocket2; await pumpView(tester, data); // Verify general information. expect(find.text('Request uri: '), findsOneWidget); expect( find.text('InternetAddress(\'2606:4700:3037::ac43:0000\', IPv6)'), findsOneWidget, ); expect(find.text('Method: '), findsOneWidget); expect(find.text('GET'), findsOneWidget); expect(find.text('Status: '), findsOneWidget); expect(find.text('101'), findsOneWidget); expect(find.text('Port: '), findsOneWidget); expect(find.text('80'), findsOneWidget); expect(find.text('Content type: '), findsOneWidget); expect(find.text('websocket'), findsOneWidget); expect(find.text('Socket id: '), findsOneWidget); expect(find.text('11111'), findsOneWidget); expect(find.text('Socket type: '), findsOneWidget); expect(find.text('tcp'), findsOneWidget); expect(find.text('Read bytes: '), findsOneWidget); expect(find.text('20'), findsOneWidget); expect(find.text('Write bytes: '), findsOneWidget); expect(find.text('25'), findsOneWidget); // Verify timing information. expect(find.text('Timing: '), findsOneWidget); expect(find.text('Start time: '), findsOneWidget); expect(find.text(formatDateTime(data.startTimestamp)), findsOneWidget); expect(find.text('End time: '), findsOneWidget); expect(find.text('Pending'), findsOneWidget); expect( find.byKey(NetworkRequestOverviewView.socketTimingGraphKey), findsOneWidget, ); expect(find.text('Last read time: '), findsOneWidget); expect( find.text(formatDateTime(data.lastReadTimestamp!)), findsOneWidget, ); expect(find.text('Last write time: '), findsOneWidget); expect( find.text(formatDateTime(data.lastWriteTimestamp!)), findsOneWidget, ); }, ); }); }
devtools/packages/devtools_app/test/network/network_profiler_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/network/network_profiler_test.dart", "repo_id": "devtools", "token_count": 8480 }
110
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_print import 'package:devtools_app/src/shared/ui/search.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; // Set debug to true displays editing parts. bool debug = false; void main() { group('AutoComplete', () { setUp(() { // TODO: add code to run before each test }); // [caretPosition] if null (default) TextSelection is set to EOL. EditingParts testEdit(String editing, [int? caretPosition]) { final position = caretPosition ?? editing.length; return AutoCompleteSearchControllerMixin.activeEditingParts( editing, TextSelection(baseOffset: position, extentOffset: position), handleFields: true, ); } void outputResult(int num, EditingParts editingParts) { if (debug) { print( '$num. left=${editingParts.leftSide}, ' 'active=${editingParts.activeWord}', ); } } test('activeEditing parsing caret EOL', () { // Test for various types of auto-complete (tracking) used for expression evaluator // with caret (insertion point) at EOL. EditingParts parts = testEdit('baseO'); outputResult(0, parts); expect(parts.activeWord, 'baseO'); expect(parts.leftSide.isEmpty, isTrue); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject'); outputResult(1, parts); expect(parts.activeWord, 'baseObject'); expect(parts.leftSide.isEmpty, isTrue); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.'); outputResult(2, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.cl'); outputResult(3, parts); expect(parts.activeWord, 'cl'); expect(parts.leftSide, 'baseObject.'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.close+'); outputResult(4, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close+'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close+1000+'); outputResult(5, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close+1000+'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close+1000+char'); outputResult(6, parts); expect(parts.activeWord, 'char'); expect(parts.leftSide, 'baseObject.close+1000+'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000'); outputResult(7, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close + 1000'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000/2000 + cha'); outputResult(8, parts); expect(parts.activeWord, 'cha'); expect(parts.leftSide, 'baseObject.close + 1000/2000 + '); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000/2000 + chart'); outputResult(9, parts); expect(parts.activeWord, 'chart'); expect(parts.leftSide, 'baseObject.close + 1000/2000 + '); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000 / 2000 + chart.'); outputResult(10, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close + 1000 / 2000 + chart.'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.close + 1000/2000 + chart.tr'); outputResult(11, parts); expect(parts.activeWord, 'tr'); expect(parts.leftSide, 'baseObject.close + 1000/2000 + chart.'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.close+1000/2000+chart.traces'); outputResult(12, parts); expect(parts.activeWord, 'traces'); expect(parts.leftSide, 'baseObject.close+1000/2000+chart.'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.close + 1000/2000 + chart.traces[10'); outputResult(13, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000/2000 + chart.traces[10]'); outputResult(14, parts); expect(parts.activeWord.isEmpty, isTrue); expect(parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10]'); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000/2000 + chart.traces[10].yNa'); outputResult(15, parts); expect(parts.activeWord, 'yNa'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit('baseObject.close + 1000/2000 + chart.traces[addO'); outputResult(16, parts); expect(parts.activeWord, 'addO'); expect(parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces['); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit('baseObject.close + 1000/2000 + chart.traces[addOne,addT'); outputResult(17, parts); expect(parts.activeWord, 'addT'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[addOne,', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[addOne,addTwo]', ); outputResult(18, parts); expect(parts.activeWord.isEmpty, isTrue); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[addOne,addTwo]', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[addOne,addTwo].xNam', ); outputResult(19, parts); expect(parts.activeWord, 'xNam'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[addOne,addTwo].', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute', ); outputResult(20, parts); expect(parts.activeWord, 'compute'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + ', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute()', ); outputResult(21, parts); expect(parts.activeWord.isEmpty, isTrue); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute()', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(foo', ); outputResult(22, parts); expect(parts.activeWord, 'foo'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(foo,bar', ); outputResult(23, parts); expect(parts.activeWord, 'bar'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(foo,', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(foo,bar)', ); outputResult(24, parts); expect(parts.activeWord.isEmpty, isTrue); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute(foo,bar)', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + foo', ); outputResult(25, parts); expect(parts.activeWord, 'foo'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + ', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isFalse); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + foobar.', ); outputResult(26, parts); expect(parts.activeWord.isEmpty, isTrue); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + foobar.', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); parts = testEdit( 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + foobar.length', ); outputResult(27, parts); expect(parts.activeWord, 'length'); expect( parts.leftSide, 'baseObject.close + 1000/2000 + chart.traces[10].yName + compute() + foobar.', ); expect(parts.rightSide.isEmpty, isTrue); expect(parts.isField, isTrue); }); test('activeEditing parsing caret inside', () { EditingParts parts; // Test for various types of auto-complete (tracking) used for expression evaluator // with caret (insertion point) within the text (not at EOL). // Expression 1 test. const expression1 = 'myApplication.name + ch + controller.clear()'; int caret1 = expression1.indexOf('ch + '); expect(caret1 >= 0, isTrue); caret1 += 2; // Caret after ch parts = testEdit(expression1, caret1); outputResult(1, parts); expect(parts.activeWord, 'ch'); expect(parts.leftSide, 'myApplication.name + '); expect(parts.rightSide, ' + controller.clear()'); expect(parts.isField, isFalse); // Expression 2 test. const expression2 = 'myApplication.name + chart.tra + controller.clear()'; int caret2 = expression2.indexOf('tra + '); expect(caret2 >= 0, isTrue); caret2 += 3; // Caret after tra parts = testEdit(expression2, caret2); outputResult(2, parts); expect(parts.activeWord, 'tra'); expect(parts.leftSide, 'myApplication.name + chart.'); expect(parts.rightSide, ' + controller.clear()'); expect(parts.isField, isTrue); }); }); }
devtools/packages/devtools_app/test/shared/auto_complete_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/auto_complete_test.dart", "repo_id": "devtools", "token_count": 4788 }
111
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/profiler/cpu_profiler_controller.dart'; import 'package:devtools_app/src/screens/profiler/panes/cpu_flame_chart.dart'; import 'package:devtools_app/src/shared/charts/flame_chart.dart'; import 'package:devtools_app/src/shared/primitives/flutter_widgets/linked_scroll_controller.dart'; import 'package:devtools_app/src/shared/ui/utils.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/mockito.dart'; import '../test_infra/test_data/cpu_profiler/cpu_profile.dart'; void main() { const defaultZoom = 1.0; setGlobal(IdeTheme, IdeTheme()); const narrowNodeKey = Key('narrow node'); final narrowNode = FlameChartNode<CpuStackFrame>( key: narrowNodeKey, text: 'Narrow test node', rect: Rect.fromLTWH(23.0, 0.0, 21.9, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; const Key testNodeKey = Key('test node'); final testNode = FlameChartNode<CpuStackFrame>( key: testNodeKey, text: 'Test node 1', // 30.0 is the minimum node width for text. rect: Rect.fromLTWH(70.0, 0.0, 30.0, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; final testNode2 = FlameChartNode<CpuStackFrame>( key: narrowNodeKey, text: 'Test node 2', rect: Rect.fromLTWH(120.0, 0.0, 50.0, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; final testNode3 = FlameChartNode<CpuStackFrame>( key: narrowNodeKey, text: 'Test node 3', rect: Rect.fromLTWH(180.0, 0.0, 50.0, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; final testNode4 = FlameChartNode<CpuStackFrame>( key: narrowNodeKey, text: 'Test node 4', rect: Rect.fromLTWH(240.0, 0.0, 300.0, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; final testNodes = [ testNode, testNode2, testNode3, testNode4, ]; const noWidthNodeKey = Key('no-width node'); final negativeWidthNode = FlameChartNode<CpuStackFrame>( key: noWidthNodeKey, text: 'No-width node', rect: Rect.fromLTWH(1.0, 0.0, -0.1, chartRowHeight), colorPair: ThemedColorPair.from( const ColorPair(background: Colors.blue, foreground: Colors.white), ), data: stackFrameA, onSelected: (_) {}, )..sectionIndex = 0; group('FlameChart', () { // Use an instance of [CpuProfileFlameChart] because the data is simple to // stub and [FlameChart] is an abstract class. late CpuProfilerController controller; late CpuProfileFlameChart flameChart; Future<void> pumpFlameChart(WidgetTester tester) async { await tester.pumpWidget( MediaQuery( data: const MediaQueryData(size: Size(1000.0, 1000.0)), child: Directionality( textDirection: TextDirection.ltr, child: flameChart, ), ), ); } setUp(() { final mockServiceConnection = createMockServiceConnectionWithDefaults(); final mockServiceManager = mockServiceConnection.serviceManager as MockServiceManager; setGlobal(ServiceConnectionManager, mockServiceConnection); final connectedApp = MockConnectedApp(); mockConnectedApp( connectedApp, isFlutterApp: true, isProfileBuild: true, isWebApp: false, ); when(mockServiceManager.connectedApp).thenReturn(connectedApp); controller = CpuProfilerController(); flameChart = CpuProfileFlameChart( data: CpuProfileData.parse(cpuProfileResponseJson), width: 1000.0, height: 1000.0, selectionNotifier: ValueNotifier<CpuStackFrame?>(null), searchMatchesNotifier: controller.searchMatches, activeSearchMatchNotifier: controller.activeSearchMatch, onDataSelected: (_) {}, ); }); testWidgets( 'WASD keys zoom and update scroll position', (WidgetTester tester) async { await pumpFlameChart(tester); expect(find.byWidget(flameChart), findsOneWidget); final FlameChartState state = tester.state(find.byWidget(flameChart)); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); state.mouseHoverX = 100.0; state.focusNode.requestFocus(); await tester.pumpAndSettle(); // Use platform macos so that we have access to [event.data.keyLabel]. // Event simulation is not supported for platform 'web'. // Zoom in. await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(20.0)); // Zoom in further. await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(50.0)); // Zoom out. await tester.sendKeyEvent(LogicalKeyboardKey.keyS, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(20.0)); // Zoom out further. await tester.sendKeyEvent(LogicalKeyboardKey.keyS, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); // Zoom out and verify we cannot go beyond the minimum zoom level (1.0); await tester.sendKeyEvent(LogicalKeyboardKey.keyS, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); // Verify that the scroll position does not change when the mouse is // positioned in an unzoomable area (start or end inset). state.mouseHoverX = 30.0; await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(0.0)); }, ); testWidgets('WASD keys pan chart', (WidgetTester tester) async { await pumpFlameChart(tester); expect(find.byWidget(flameChart), findsOneWidget); final FlameChartState state = tester.state(find.byWidget(flameChart)); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); state.mouseHoverX = 500.0; state.focusNode.requestFocus(); await tester.pumpAndSettle(); // Use platform macos so that we have access to [event.data.keyLabel]. // Event simulation is not supported for platform 'web'. // Zoom in so we have room to pan around. await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(550.0)); // Pan left. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent(LogicalKeyboardKey.keyA, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(300.0)); // Pan right. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent(LogicalKeyboardKey.keyD, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(550.0)); // Zoom in. await tester.sendKeyEvent(LogicalKeyboardKey.keyW, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(1045.0)); // Pan left. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent(LogicalKeyboardKey.keyA, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(795.0)); // Pan right. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent(LogicalKeyboardKey.keyD, platform: 'macos'); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(1045.0)); }); testWidgets( ',AOE keys zoom and update scroll position', (WidgetTester tester) async { await pumpFlameChart(tester); expect(find.byWidget(flameChart), findsOneWidget); final FlameChartState state = tester.state(find.byWidget(flameChart)); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); state.mouseHoverX = 100.0; state.focusNode.requestFocus(); await tester.pumpAndSettle(); // Use platform macos so that we have access to [event.data.keyLabel]. // Event simulation is not supported for platform 'web'. // Zoom in. await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(20.0)); // Zoom in further. await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(50.0)); // Zoom out. await tester.sendKeyEvent( LogicalKeyboardKey.keyO, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyS, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(20.0)); // Zoom out further. await tester.sendKeyEvent( LogicalKeyboardKey.keyO, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyS, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); // Zoom out and verify we cannot go beyond the minimum zoom level (1.0); await tester.sendKeyEvent( LogicalKeyboardKey.keyO, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyS, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); // Verify that the scroll position does not change when the mouse is // positioned in an unzoomable area (start or end inset). state.mouseHoverX = 30.0; await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(1.5)); expect(state.horizontalControllerGroup.offset, equals(0.0)); }, ); testWidgets(',AOE keys pan chart', (WidgetTester tester) async { await pumpFlameChart(tester); expect(find.byWidget(flameChart), findsOneWidget); final FlameChartState state = tester.state(find.byWidget(flameChart)); expect(state.zoomController.value, equals(1.0)); expect(state.horizontalControllerGroup.offset, equals(0.0)); state.mouseHoverX = 500.0; state.focusNode.requestFocus(); await tester.pumpAndSettle(); // Use platform macos so that we have access to [event.data.keyLabel]. // Event simulation is not supported for platform 'web'. // Zoom in so we have room to pan around. await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(550.0)); // Pan left. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent( LogicalKeyboardKey.keyA, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyA, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(300.0)); // Pan right. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent( LogicalKeyboardKey.keyE, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyD, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(2.25)); expect(state.horizontalControllerGroup.offset, equals(550.0)); // Zoom in. await tester.sendKeyEvent( LogicalKeyboardKey.comma, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyW, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(1045.0)); // Pan left. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent( LogicalKeyboardKey.keyA, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyA, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(795.0)); // Pan right. Pan unit should equal 1/4th of the original width (1000.0). await tester.sendKeyEvent( LogicalKeyboardKey.keyE, platform: 'macos', physicalKey: PhysicalKeyboardKey.keyD, ); await tester.pumpAndSettle(); expect(state.zoomController.value, equals(3.375)); expect(state.horizontalControllerGroup.offset, equals(1045.0)); }); group('binary search for node', () { testWidgets( 'returns correct node for default zoom level', (WidgetTester tester) async { const zoomLevel = 1.0; expect( binarySearchForNodeHelper( x: -10.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 49.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 70.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode, ); expect( binarySearchForNodeHelper( x: 120.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode2, ); expect( binarySearchForNodeHelper( x: 230.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode3, ); expect( binarySearchForNodeHelper( x: 360.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode4, ); expect( binarySearchForNodeHelper( x: 1060.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); }, ); testWidgets( 'returns correct node in zoomed row', (WidgetTester tester) async { const zoomLevel = 2.0; expect( binarySearchForNodeHelper( x: -10.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 49.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 70.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode, ); expect( binarySearchForNodeHelper( x: 130.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode, ); expect( binarySearchForNodeHelper( x: 130.1, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 169.9, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 170.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode2, ); expect( binarySearchForNodeHelper( x: 270.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode2, ); expect( binarySearchForNodeHelper( x: 270.1, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 289.9, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 290.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode3, ); expect( binarySearchForNodeHelper( x: 409.9, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 410.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode4, ); expect( binarySearchForNodeHelper( x: 1010.0, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), testNode4, ); expect( binarySearchForNodeHelper( x: 1010.1, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); expect( binarySearchForNodeHelper( x: 10000, nodesInRow: testNodes, zoom: zoomLevel, startInset: sideInset, ), isNull, ); }, ); }); }); group('ScrollingFlameChartRow', () { late ScrollingFlameChartRow currentRow; final linkedScrollControllerGroup = LinkedScrollControllerGroup(); final testRow = ScrollingFlameChartRow<CpuStackFrame>( linkedScrollControllerGroup: linkedScrollControllerGroup, nodes: testNodes, width: 680.0, // 680.0 fits all test nodes and sideInsets of 70.0. startInset: sideInset, hoveredNotifier: ValueNotifier<CpuStackFrame?>(null), selectionNotifier: ValueNotifier<CpuStackFrame?>(null), searchMatchesNotifier: null, activeSearchMatchNotifier: null, backgroundColor: Colors.transparent, zoom: FlameChart.minZoomLevel, ); Future<void> pumpScrollingFlameChartRow( WidgetTester tester, ScrollingFlameChartRow row, ) async { await tester.pumpWidget( Directionality( textDirection: TextDirection.ltr, child: Overlay( initialEntries: [ OverlayEntry( builder: (context) { return currentRow = row; }, ), ], ), ), ); } testWidgets('builds with nodes in row', (WidgetTester tester) async { await pumpScrollingFlameChartRow(tester, testRow); expect(find.byWidget(currentRow), findsOneWidget); // 1 for row container and 4 for node containers. expect(tester.widgetList(find.byType(Container)).length, equals(5)); }); testWidgets('builds for empty nodes list', (WidgetTester tester) async { final emptyRow = ScrollingFlameChartRow<CpuStackFrame>( linkedScrollControllerGroup: linkedScrollControllerGroup, nodes: const [], width: 500.0, // 500.0 is arbitrary. startInset: sideInset, hoveredNotifier: ValueNotifier<CpuStackFrame?>(null), selectionNotifier: ValueNotifier<CpuStackFrame?>(null), searchMatchesNotifier: null, activeSearchMatchNotifier: null, backgroundColor: Colors.transparent, zoom: FlameChart.minZoomLevel, ); await pumpScrollingFlameChartRow(tester, emptyRow); expect(find.byWidget(currentRow), findsOneWidget); final emptyRowFinder = find.byType(EmptyFlameChartRow); final EmptyFlameChartRow emptyFlameChartRow = tester.widget(emptyRowFinder); expect(emptyFlameChartRow.height, equals(sectionSpacing)); }); }); group('FlameChartNode', () { final nodeFinder = find.byKey(testNodeKey); final textFinder = find.byType(Text); final tooltipFinder = find.byType(Tooltip); Future<void> pumpFlameChartNode( WidgetTester tester, { required bool selected, required bool hovered, FlameChartNode? node, double zoom = defaultZoom, }) async { node ??= testNode; await tester.pumpWidget( Builder( builder: (context) => Directionality( textDirection: TextDirection.ltr, child: node!.buildWidget( selected: selected, searchMatch: false, activeSearchMatch: false, hovered: hovered, zoom: zoom, theme: Theme.of(context), ), ), ), ); } Future<void> pumpFlameChartNodeWithOverlay( WidgetTester tester, { required bool selected, required bool hovered, }) async { await tester.pumpWidget( Directionality( textDirection: TextDirection.ltr, child: Overlay( initialEntries: [ OverlayEntry( builder: (BuildContext context) { return testNode.buildWidget( selected: selected, searchMatch: false, activeSearchMatch: false, hovered: hovered, zoom: defaultZoom, theme: Theme.of(context), ); }, ), ], ), ), ); await tester.pumpAndSettle(); } testWidgets( 'builds with correct colors for selected state', (WidgetTester tester) async { await pumpFlameChartNode(tester, selected: true, hovered: false); expect(nodeFinder, findsOneWidget); final Container nodeWidget = tester.widget(nodeFinder); expect(nodeWidget.color, equals(darkColorScheme.primary)); expect(textFinder, findsOneWidget); final Text textWidget = tester.widget(textFinder); expect(textWidget.style!.color, equals(Colors.black)); }, ); testWidgets( 'builds with correct colors for non-selected state', (WidgetTester tester) async { await pumpFlameChartNode(tester, selected: false, hovered: false); expect(nodeFinder, findsOneWidget); final Container nodeWidget = tester.widget(nodeFinder); expect(nodeWidget.color, equals(Colors.blue)); expect(textFinder, findsOneWidget); final Text textWidget = tester.widget(textFinder); expect(textWidget.style!.color, equals(Colors.white)); }, ); testWidgets( 'builds tooltip for hovered state', (WidgetTester tester) async { await pumpFlameChartNodeWithOverlay( tester, selected: false, hovered: true, ); expect(nodeFinder, findsOneWidget); expect(tooltipFinder, findsOneWidget); }, ); testWidgets( 'builds without tooltip for non-hovered state', (WidgetTester tester) async { await pumpFlameChartNodeWithOverlay( tester, selected: false, hovered: false, ); expect(nodeFinder, findsOneWidget); expect(tooltipFinder, findsNothing); }, ); testWidgets( 'builds without text for narrow widget', (WidgetTester tester) async { await pumpFlameChartNode( tester, node: narrowNode, selected: false, hovered: false, ); expect(find.byKey(narrowNodeKey), findsOneWidget); expect(textFinder, findsNothing); }, ); testWidgets('normalizes negative widths', (WidgetTester tester) async { /* * This test simulates a node created with a very small width with * added padding. * * We sometimes create empty space between nodes by subtracting some * space from the width. We want the node to normalize itself to prevent * negative bounds. */ await pumpFlameChartNode( tester, node: negativeWidthNode, selected: false, hovered: false, ); expect(tester.takeException(), isNull); }); testWidgets('builds with zoom', (WidgetTester tester) async { await pumpFlameChartNode( tester, selected: false, hovered: false, zoom: 2.0, ); expect(nodeFinder, findsOneWidget); Container nodeWidget = tester.widget(nodeFinder); expect(nodeWidget.constraints!.maxWidth, equals(60.0)); await pumpFlameChartNode( tester, selected: false, hovered: false, zoom: 2.5, ); expect(nodeFinder, findsOneWidget); nodeWidget = tester.widget(nodeFinder); expect(nodeWidget.constraints!.maxWidth, equals(75.0)); }); }); group('NodeListExtension', () { test( 'toPaddedZoomedIntervals calculation is accurate for unzoomed row', () { final paddedZoomedIntervals = testNodes.toPaddedZoomedIntervals( zoom: 1.0, chartStartInset: sideInset, chartWidth: 610.0, ); expect(paddedZoomedIntervals[0], equals(const Range(0.0, 120.0))); expect(paddedZoomedIntervals[1], equals(const Range(120.0, 180.0))); expect(paddedZoomedIntervals[2], equals(const Range(180.0, 240.0))); expect( paddedZoomedIntervals[3], equals(const Range(240.0, 1000000000540.0)), ); }, ); test('toPaddedZoomedIntervals calculation is accurate for zoomed row', () { final paddedZoomedIntervals = testNodes.toPaddedZoomedIntervals( zoom: 2.0, chartStartInset: sideInset, chartWidth: 1080.0, ); expect(paddedZoomedIntervals[0], equals(const Range(0.0, 170.0))); expect(paddedZoomedIntervals[1], equals(const Range(170.0, 290.0))); expect(paddedZoomedIntervals[2], equals(const Range(290.0, 410.0))); expect( paddedZoomedIntervals[3], equals(const Range(410.0, 1000000001010.0)), ); }); }); group('FlameChartUtils', () { test('leftPaddingForNode returns correct value for un-zoomed row', () { expect( FlameChartUtils.leftPaddingForNode( 0, testNodes, chartZoom: 1.0, chartStartInset: sideInset, ), equals(70.0), ); expect( FlameChartUtils.leftPaddingForNode( 1, testNodes, chartZoom: 1.0, chartStartInset: sideInset, ), equals(0.0), ); expect( FlameChartUtils.leftPaddingForNode( 2, testNodes, chartZoom: 1.0, chartStartInset: sideInset, ), equals(0.0), ); expect( FlameChartUtils.leftPaddingForNode( 3, testNodes, chartZoom: 1.0, chartStartInset: sideInset, ), equals(0.0), ); }); test('rightPaddingForNode returns correct value for un-zoomed row', () { expect( FlameChartUtils.rightPaddingForNode( 0, testNodes, chartZoom: 1.0, chartStartInset: sideInset, chartWidth: 610.0, ), equals(20.0), ); expect( FlameChartUtils.rightPaddingForNode( 1, testNodes, chartZoom: 1.0, chartStartInset: sideInset, chartWidth: 610.0, ), equals(10.0), ); expect( FlameChartUtils.rightPaddingForNode( 2, testNodes, chartZoom: 1.0, chartStartInset: sideInset, chartWidth: 610.0, ), equals(10.0), ); expect( FlameChartUtils.rightPaddingForNode( 3, testNodes, chartZoom: 1.0, chartStartInset: sideInset, chartWidth: 610.0, ), equals(1000000000000.0), ); }); test('leftPaddingForNode returns correct value for zoomed row', () { expect( FlameChartUtils.leftPaddingForNode( 0, testNodes, chartZoom: 2.0, chartStartInset: sideInset, ), equals(70.0), ); expect( FlameChartUtils.leftPaddingForNode( 1, testNodes, chartZoom: 2.0, chartStartInset: sideInset, ), equals(0.0), ); expect( FlameChartUtils.leftPaddingForNode( 2, testNodes, chartZoom: 2.0, chartStartInset: sideInset, ), equals(0.0), ); expect( FlameChartUtils.leftPaddingForNode( 3, testNodes, chartZoom: 2.0, chartStartInset: sideInset, ), equals(0.0), ); }); test('rightPaddingForNode returns correct value for zoomed row', () { expect( FlameChartUtils.rightPaddingForNode( 0, testNodes, chartZoom: 2.0, chartStartInset: sideInset, chartWidth: 1080.0, ), equals(40.0), ); expect( FlameChartUtils.rightPaddingForNode( 1, testNodes, chartZoom: 2.0, chartStartInset: sideInset, chartWidth: 1080.0, ), equals(20.0), ); expect( FlameChartUtils.rightPaddingForNode( 2, testNodes, chartZoom: 2.0, chartStartInset: sideInset, chartWidth: 1080.0, ), equals(20.0), ); expect( FlameChartUtils.rightPaddingForNode( 3, testNodes, chartZoom: 2.0, chartStartInset: sideInset, chartWidth: 1080.0, ), equals(1000000000000.0), ); }); test('zoomForNode returns correct values', () { expect(FlameChartUtils.zoomForNode(testNode, 3.0), equals(3.0)); expect(FlameChartUtils.zoomForNode(testNode4, 10.0), equals(10.0)); }); }); }
devtools/packages/devtools_app/test/shared/flame_chart_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/flame_chart_test.dart", "repo_id": "devtools", "token_count": 16201 }
112
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:flutter_test/flutter_test.dart'; import '../test_infra/flutter_test_storage.dart'; void main() { setGlobal(ServiceConnectionManager, FakeServiceConnectionManager()); group('$PreferencesController', () { late PreferencesController controller; setUp(() { setGlobal( DevToolsEnvironmentParameters, ExternalDevToolsEnvironmentParameters(), ); controller = PreferencesController(); }); test('has subcontrollers initialized', () { expect(controller.memory, isNotNull); expect(controller.inspector, isNotNull); }); test('has value', () { expect(controller.darkModeTheme.value, isNotNull); }); test('toggleDarkModeTheme', () { bool valueChanged = false; final originalValue = controller.darkModeTheme.value; controller.darkModeTheme.addListener(() { valueChanged = true; }); controller.toggleDarkModeTheme(!controller.darkModeTheme.value); expect(valueChanged, isTrue); expect(controller.darkModeTheme.value, isNot(originalValue)); }); test('toggleVmDeveloperMode', () { bool valueChanged = false; final originalValue = controller.vmDeveloperModeEnabled.value; controller.vmDeveloperModeEnabled.addListener(() { valueChanged = true; }); controller .toggleVmDeveloperMode(!controller.vmDeveloperModeEnabled.value); expect(valueChanged, isTrue); expect(controller.vmDeveloperModeEnabled.value, isNot(originalValue)); }); }); // TODO(https://github.com/flutter/devtools/issues/4342): Add more tests. group('$InspectorPreferencesController', () { late InspectorPreferencesController controller; late FlutterTestStorage storage; void updateMainIsolateRootLibrary(String? rootLibrary) { setGlobal( ServiceConnectionManager, FakeServiceConnectionManager( rootLibrary: rootLibrary, ), ); } setUp(() { setGlobal(Storage, storage = FlutterTestStorage()); controller = InspectorPreferencesController(); }); group('hoverEvalMode', () { test('default value equals inspector service default value', () async { await controller.init(); expect( controller.hoverEvalModeEnabled.value, serviceConnection.inspectorService!.hoverEvalModeEnabledByDefault, ); }); test('can be updated', () async { await controller.init(); var valueChanged = false; final newHoverModeValue = !controller.hoverEvalModeEnabled.value; controller.hoverEvalModeEnabled.addListener(() { valueChanged = true; }); controller.setHoverEvalMode(newHoverModeValue); final storedHoverModeValue = await storage.getValue('inspector.hoverEvalMode'); expect(valueChanged, isTrue); expect(controller.hoverEvalModeEnabled.value, newHoverModeValue); expect( storedHoverModeValue, newHoverModeValue.toString(), ); }); }); group( 'infers the pub root directory based on the main isolate\'s root library', () { final rootLibToExpectedPubRoot = { 'test_dir/fake_app/lib/main.dart': 'test_dir/fake_app', 'my_user/google3/dart_apps/test_app/lib/main.dart': '/dart_apps', 'my_user/google3/third_party/dart/dart_apps/test_app/lib/main.dart': '/third_party/dart', }; for (final MapEntry( key: rootLib, value: expectedPubRoot, ) in rootLibToExpectedPubRoot.entries) { test( '$rootLib -> $expectedPubRoot', () async { updateMainIsolateRootLibrary(rootLib); await controller.handleConnectionToNewService(); final directories = controller.pubRootDirectories.value; expect(directories, equals([expectedPubRoot])); }, ); } }, ); group('Caching custom pub root directories', () { final customPubRootDirectories = [ 'test_dir/fake_app/custom_dir1', 'test_dir/fake_app/custom_dir2', ]; setUp(() async { updateMainIsolateRootLibrary('test_dir/fake_app/lib/main.dart'); await controller.handleConnectionToNewService(); await controller.addPubRootDirectories( customPubRootDirectories, shouldCache: true, ); }); test( 'fetches custom pub root directories from the local cache', () { final directories = controller.pubRootDirectories.value; expect( directories, containsAll(customPubRootDirectories), ); }, ); test( 'custom pub root directories are cached across multiple connections', () async { var directories = controller.pubRootDirectories.value; var cachedDirectories = await controller.readCachedPubRootDirectories(); expect( directories, containsAll(customPubRootDirectories), ); expect( cachedDirectories, containsAll(customPubRootDirectories), ); await controller.handleConnectionToNewService(); directories = controller.pubRootDirectories.value; cachedDirectories = await controller.readCachedPubRootDirectories(); expect( directories, containsAll(customPubRootDirectories), ); expect(cachedDirectories, containsAll(customPubRootDirectories)); }, ); test( 'adding more directories to cache doesn\'t overwrite pre-existing values', () async { await controller.addPubRootDirectories( ['test_dir/fake_app/custom_dir3'], shouldCache: true, ); final cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, containsAll([ ...customPubRootDirectories, 'test_dir/fake_app/custom_dir3', ]), ); }, ); test( 'removing directories from cache removes the correct values', () async { const notRemoved = 'test_dir/fake_app/custom_dir1'; const removed = 'test_dir/fake_app/custom_dir2'; var cachedDirectories = await controller.readCachedPubRootDirectories(); expect(cachedDirectories, containsAll([notRemoved, removed])); await controller.removePubRootDirectories([removed]); cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, isNot(contains(removed)), ); expect( cachedDirectories, contains(notRemoved), ); }, ); test( 'directories includes inferred directory as well', () { final directories = controller.pubRootDirectories.value; expect( directories, contains('test_dir/fake_app'), ); }, ); test( 'does not save inferred directory to local cache', () async { final cachedDirectories = await controller.readCachedPubRootDirectories(); expect(cachedDirectories, isNot(contains('test_dir/fake_app'))); }, ); test( 'directories added with "no caching" specified are not cached', () async { await controller.addPubRootDirectories( ['test_dir/fake_app/do_not_cache_dir'], ); final cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, isNot(contains('test_dir/fake_app/do_not_cache_dir')), ); }, ); }); test('Flutter pub root is removed from cache on app connection', () async { updateMainIsolateRootLibrary('test_dir/fake_app/lib/main.dart'); await storage.setValue( 'inspector.customPubRootDirectories_myPackage', jsonEncode( [ 'flutter_dir/flutter/packages/flutter', 'test_dir/fake_app/custom_dir1', ], ), ); await controller.handleConnectionToNewService(); final cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, isNot(contains('flutter_dir/flutter/packages/flutter')), ); expect( cachedDirectories, contains('test_dir/fake_app/custom_dir1'), ); }); test( 'Flutter pub root is removed from cache across multiple app connections', () async { updateMainIsolateRootLibrary('test_dir/fake_app/lib/main.dart'); await storage.setValue( 'inspector.customPubRootDirectories_myPackage', jsonEncode( [ 'flutter_dir/flutter/packages/flutter', 'test_dir/fake_app/custom_dir1', ], ), ); await controller.handleConnectionToNewService(); var cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, isNot(contains('flutter_dir/flutter/packages/flutter')), ); expect( cachedDirectories, contains('test_dir/fake_app/custom_dir1'), ); await storage.setValue( 'inspector.customPubRootDirectories_myPackage', jsonEncode( [ 'flutter_dir/flutter/packages/flutter', 'test_dir/fake_app/custom_dir2', ], ), ); await controller.handleConnectionToNewService(); cachedDirectories = await controller.readCachedPubRootDirectories(); expect( cachedDirectories, isNot(contains('flutter_dir/flutter/packages/flutter')), ); expect( cachedDirectories, contains('test_dir/fake_app/custom_dir2'), ); }, ); }); group('$MemoryPreferencesController', () { late MemoryPreferencesController controller; late FlutterTestStorage storage; setUp(() async { setGlobal(Storage, storage = FlutterTestStorage()); controller = MemoryPreferencesController(); await controller.init(); }); test('stores values and reads them on init', () async { storage.values.clear(); // Remember original values. final originalAndroidCollection = controller.androidCollectionEnabled.value; // Flip the values in controller. controller.androidCollectionEnabled.value = !originalAndroidCollection; // Check the values are stored. expect(storage.values, hasLength(1)); // Reload the values from storage. await controller.init(); // Check they did not change back to default. expect( controller.androidCollectionEnabled.value, !originalAndroidCollection, ); // Flip the values in storage. for (var key in storage.values.keys) { storage.values[key] = (!(storage.values[key] == 'true')).toString(); } // Reload the values from storage. await controller.init(); // Check they flipped values are loaded. expect( controller.androidCollectionEnabled.value, originalAndroidCollection, ); }); }); group('$PerformancePreferencesController', () { late PerformancePreferencesController controller; late FlutterTestStorage storage; setUp(() async { setGlobal(Storage, storage = FlutterTestStorage()); controller = PerformancePreferencesController(); await controller.init(); }); test('has expected default values', () { expect(controller.showFlutterFramesChart.value, true); expect(controller.includeCpuSamplesInTimeline.value, false); }); test('stores values and reads them on init', () async { storage.values.clear(); // Remember original values. final showFramesChart = controller.showFlutterFramesChart.value; final includeCpuSamplesInTimeline = controller.includeCpuSamplesInTimeline.value; // Flip the values in controller. controller.showFlutterFramesChart.value = !showFramesChart; controller.includeCpuSamplesInTimeline.value = !includeCpuSamplesInTimeline; // Check the values are stored. expect(storage.values, hasLength(2)); // Reload the values from storage. await controller.init(); // Check they did not change back to default. expect( controller.showFlutterFramesChart.value, !showFramesChart, ); expect( controller.includeCpuSamplesInTimeline.value, !includeCpuSamplesInTimeline, ); // Flip the values in storage. for (var key in storage.values.keys) { storage.values[key] = (!(storage.values[key] == 'true')).toString(); } // Reload the values from storage. await controller.init(); // Check they flipped values are loaded. expect( controller.showFlutterFramesChart.value, showFramesChart, ); expect( controller.includeCpuSamplesInTimeline.value, includeCpuSamplesInTimeline, ); }); }); group('$ExtensionsPreferencesController', () { late ExtensionsPreferencesController controller; late FlutterTestStorage storage; setUp(() async { setGlobal(Storage, storage = FlutterTestStorage()); controller = ExtensionsPreferencesController(); await controller.init(); }); test('has expected default values', () { expect(controller.showOnlyEnabledExtensions.value, isFalse); }); test('stores values and reads them on init', () async { storage.values.clear(); // Remember original values. final showOnlyEnabled = controller.showOnlyEnabledExtensions.value; // Flip the values in controller. controller.showOnlyEnabledExtensions.value = !showOnlyEnabled; // Check the values are stored. expect(storage.values, hasLength(1)); // Reload the values from storage. await controller.init(); // Check they did not change back to default. expect( controller.showOnlyEnabledExtensions.value, !showOnlyEnabled, ); // Flip the values in storage. for (var key in storage.values.keys) { storage.values[key] = (!(storage.values[key] == 'true')).toString(); } // Reload the values from storage. await controller.init(); // Check they flipped values are loaded. expect( controller.showOnlyEnabledExtensions.value, showOnlyEnabled, ); }); }); }
devtools/packages/devtools_app/test/shared/preferences_controller_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/preferences_controller_test.dart", "repo_id": "devtools", "token_count": 6279 }
113
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:clock/clock.dart'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/shared/survey.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('SurveyService', () { test('can fetch survey metadata', () async { final survey = await SurveyService().fetchSurveyContent(); expect(survey, isNotNull); }); }); group('DevToolsSurvey', () { test('parse constructor succeeds', () { final survey = DevToolsSurvey.parse({ '_comments': [ 'uniqueId must be updated with each new survey so DevTools knows to re-prompt users.', 'title should not exceed 45 characters.', 'startDate and endDate should follow ISO 8601 standard with a timezone offset.', ], 'uniqueId': '2020Q4', 'title': 'Help improve DevTools! Take our Q4 survey.', 'url': 'https://google.qualtrics.com/jfe/form/SV_9XDmbo8lhv0VaUl', 'startDate': '2020-10-30T09:00:00-07:00', 'endDate': '2020-11-30T09:00:00-07:00', 'minDevToolsVersion': '2.29.0', 'devEnvironments': ['VSCode'], }); expect(survey.id, equals('2020Q4')); expect(survey.startDate, equals(DateTime.utc(2020, 10, 30, 16))); expect(survey.endDate, equals(DateTime.utc(2020, 11, 30, 16))); expect( survey.title, equals('Help improve DevTools! Take our Q4 survey.'), ); expect( survey.url, 'https://google.qualtrics.com/jfe/form/SV_9XDmbo8lhv0VaUl', ); expect(survey.minDevToolsVersion.toString(), '2.29.0'); expect(survey.devEnvironments, ['VSCode']); final emptySurvey = DevToolsSurvey.parse({}); expect(emptySurvey.id, isNull); expect(emptySurvey.startDate, isNull); expect(emptySurvey.endDate, isNull); expect(emptySurvey.title, isNull); expect(emptySurvey.url, isNull); expect(emptySurvey.minDevToolsVersion, isNull); expect(emptySurvey.devEnvironments, isNull); }); group('should show', () { test('empty survey', () { final emptySurvey = DevToolsSurvey.parse({}); withClock(Clock.fixed(DateTime(2023, 11, 7)), () { expect(emptySurvey.meetsDateRequirement, isFalse); }); withClock(Clock.fixed(DateTime(2023, 11, 15)), () { expect(emptySurvey.meetsDateRequirement, isFalse); }); expect(emptySurvey.meetsMinVersionRequirement, isTrue); expect(emptySurvey.meetsEnvironmentRequirement, isTrue); expect(emptySurvey.shouldShow, isFalse); }); test('real survey', () { final survey = DevToolsSurvey.parse({ '_comments': [ 'uniqueId must be updated with each new survey so DevTools knows to re-prompt users.', 'title should not exceed 45 characters.', 'startDate and endDate should follow ISO 8601 standard with a timezone offset.', ], 'uniqueId': '2020Q4', 'title': 'Help improve DevTools! Take our Q4 survey.', 'url': 'https://google.qualtrics.com/jfe/form/SV_9XDmbo8lhv0VaUl', 'startDate': '2023-10-30T09:00:00-07:00', 'endDate': '2023-11-14T09:00:00-07:00', 'minDevToolsVersion': '2.29.0', 'devEnvironments': ['VSCode'], }); ideLaunched = 'VSCode'; withClock(Clock.fixed(DateTime(2023, 11, 7)), () { expect(survey.shouldShow, isTrue); }); }); test('meetsDateRequirement', () { final survey = DevToolsSurvey.parse({ 'startDate': '2023-10-30T09:00:00-07:00', 'endDate': '2023-11-14T09:00:00-07:00', }); withClock(Clock.fixed(DateTime(2023, 11, 7)), () { expect(survey.meetsDateRequirement, isTrue); }); withClock(Clock.fixed(DateTime(2023, 11, 15)), () { expect(survey.meetsDateRequirement, isFalse); }); }); test('meetsMinVersionRequirement', () { var survey = DevToolsSurvey.parse({'minDevToolsVersion': '2.25.0'}); expect(survey.meetsMinVersionRequirement, isTrue); survey = DevToolsSurvey.parse({'minDevToolsVersion': '5.25.0'}); expect(survey.meetsMinVersionRequirement, isFalse); }); test('meetsEnvironmentRequirement', () { final vsCodeOnlySurvey = DevToolsSurvey.parse({ 'devEnvironments': ['VSCode'], }); final intelliJSurvey = DevToolsSurvey.parse({ 'devEnvironments': ['Android-Studio', 'IntelliJ-IDEA'], }); ideLaunched = 'Android-Studio'; expect(vsCodeOnlySurvey.meetsEnvironmentRequirement, isFalse); expect(intelliJSurvey.meetsEnvironmentRequirement, isTrue); ideLaunched = 'IntelliJ-IDEA'; expect(vsCodeOnlySurvey.meetsEnvironmentRequirement, isFalse); expect(intelliJSurvey.meetsEnvironmentRequirement, isTrue); ideLaunched = 'VSCode'; expect(vsCodeOnlySurvey.meetsEnvironmentRequirement, isTrue); expect(intelliJSurvey.meetsEnvironmentRequirement, isFalse); }); }); }); }
devtools/packages/devtools_app/test/shared/survey_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/survey_test.dart", "repo_id": "devtools", "token_count": 2295 }
114
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_print import 'dart:async'; void main() { print('starting debugging app'); final Cat cat = Cat('Fluffy'); void run() { Timer(const Duration(milliseconds: 100), () { cat.performAction(); run(); }); } run(); } class Cat { Cat(this.name); final String name; String get type => 'cat'; int actionCount = 0; void performAction() { String actionStr = 'catAction'; actionStr = '$actionStr!'; actionCount++; // breakpoint } }
devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app.dart", "repo_id": "devtools", "token_count": 229 }
115
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'missing_material_error.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({Key? key, required this.title}) : super(key: key); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: Center( child: Card( child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ makeDemoEntry( context, 'Missing Material Example', const MissingMaterialError(), ), ], ), ), ), ); } Widget makeDemoEntry(BuildContext context, String title, Widget nextScreen) { void navigateToDemo() async { await Navigator.push( context, MaterialPageRoute(builder: (context) => nextScreen), ); } navigateCallbacks[title] = navigateToDemo; return Row( children: <Widget>[ const SizedBox( width: 50.0, ), const Icon(Icons.star), TextButton( onPressed: navigateToDemo, child: Text(title), ), ], ); } } Map<String, void Function()> navigateCallbacks = {}; // Hook to navigate to a specific screen. void navigateToScreen(String title) { navigateCallbacks[title]!(); }
devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/lib/main.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/lib/main.dart", "repo_id": "devtools", "token_count": 900 }
116
{ "type": "CpuSamples", "samplePeriod": 250, "maxStackDepth": 128, "sampleCount": 68, "timeSpan": -1, "timeOriginMicros": 108401157982, "timeExtentMicros": 33061769, "pid": 54018, "functions": [ { "type": "ProfileFunction", "kind": "Collected", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "<unknown Dart function>", "_kind": "Collected" }, "_codes": [] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] GetCStackPointer", "_kind": "Stub" }, "_codes": [ 0 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] JumpToFrame", "_kind": "Stub" }, "_codes": [ 1 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] RunExceptionHandler", "_kind": "Stub" }, "_codes": [ 2 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DeoptForRewind", "_kind": "Stub" }, "_codes": [ 3 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] WriteBarrier", "_kind": "Stub" }, "_codes": [ 4 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] WriteBarrierWrappers", "_kind": "Stub" }, "_codes": [ 5 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ArrayWriteBarrier", "_kind": "Stub" }, "_codes": [ 6 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateArray", "_kind": "Stub" }, "_codes": [ 7 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateMint", "_kind": "Stub" }, "_codes": [ 8 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateDouble", "_kind": "Stub" }, "_codes": [ 9 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat32x4", "_kind": "Stub" }, "_codes": [ 10 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat64x2", "_kind": "Stub" }, "_codes": [ 11 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt32x4", "_kind": "Stub" }, "_codes": [ 12 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt8Array", "_kind": "Stub" }, "_codes": [ 13 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUint8Array", "_kind": "Stub" }, "_codes": [ 14 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUint8ClampedArray", "_kind": "Stub" }, "_codes": [ 15 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt16Array", "_kind": "Stub" }, "_codes": [ 16 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUint16Array", "_kind": "Stub" }, "_codes": [ 17 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt32Array", "_kind": "Stub" }, "_codes": [ 18 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUint32Array", "_kind": "Stub" }, "_codes": [ 19 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt64Array", "_kind": "Stub" }, "_codes": [ 20 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUint64Array", "_kind": "Stub" }, "_codes": [ 21 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat32Array", "_kind": "Stub" }, "_codes": [ 22 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat64Array", "_kind": "Stub" }, "_codes": [ 23 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat32x4Array", "_kind": "Stub" }, "_codes": [ 24 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateInt32x4Array", "_kind": "Stub" }, "_codes": [ 25 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateFloat64x2Array", "_kind": "Stub" }, "_codes": [ 26 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateMintSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 27 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateMintSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 28 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateClosure", "_kind": "Stub" }, "_codes": [ 29 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateContext", "_kind": "Stub" }, "_codes": [ 30 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateGrowableArray", "_kind": "Stub" }, "_codes": [ 31 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateObject", "_kind": "Stub" }, "_codes": [ 32 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateObjectParameterized", "_kind": "Stub" }, "_codes": [ 33 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 68, "exclusiveTicks": 68, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateObjectSlow", "_kind": "Stub" }, "_codes": [ 34 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AllocateUnhandledException", "_kind": "Stub" }, "_codes": [ 35 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] BoxDouble", "_kind": "Stub" }, "_codes": [ 36 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CloneContext", "_kind": "Stub" }, "_codes": [ 37 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallToRuntime", "_kind": "Stub" }, "_codes": [ 38 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] LazyCompile", "_kind": "Stub" }, "_codes": [ 39 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallBootstrapNative", "_kind": "Stub" }, "_codes": [ 40 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallNoScopeNative", "_kind": "Stub" }, "_codes": [ 41 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallAutoScopeNative", "_kind": "Stub" }, "_codes": [ 42 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] FixCallersTarget", "_kind": "Stub" }, "_codes": [ 43 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallStaticFunction", "_kind": "Stub" }, "_codes": [ 44 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OptimizeFunction", "_kind": "Stub" }, "_codes": [ 45 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InvokeDartCode", "_kind": "Stub" }, "_codes": [ 46 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DebugStepCheck", "_kind": "Stub" }, "_codes": [ 47 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SwitchableCallMiss", "_kind": "Stub" }, "_codes": [ 48 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] MonomorphicSmiableCheck", "_kind": "Stub" }, "_codes": [ 49 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SingleTargetCall", "_kind": "Stub" }, "_codes": [ 50 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ICCallThroughCode", "_kind": "Stub" }, "_codes": [ 51 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] MegamorphicCall", "_kind": "Stub" }, "_codes": [ 52 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] FixAllocationStubTarget", "_kind": "Stub" }, "_codes": [ 53 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] FixParameterizedAllocationStubTarget", "_kind": "Stub" }, "_codes": [ 54 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Deoptimize", "_kind": "Stub" }, "_codes": [ 55 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DeoptimizeLazyFromReturn", "_kind": "Stub" }, "_codes": [ 56 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DeoptimizeLazyFromThrow", "_kind": "Stub" }, "_codes": [ 57 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] UnoptimizedIdenticalWithNumberCheck", "_kind": "Stub" }, "_codes": [ 58 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OptimizedIdenticalWithNumberCheck", "_kind": "Stub" }, "_codes": [ 59 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ICCallBreakpoint", "_kind": "Stub" }, "_codes": [ 60 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] UnoptStaticCallBreakpoint", "_kind": "Stub" }, "_codes": [ 61 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] RuntimeCallBreakpoint", "_kind": "Stub" }, "_codes": [ 62 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OneArgCheckInlineCache", "_kind": "Stub" }, "_codes": [ 63 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TwoArgsCheckInlineCache", "_kind": "Stub" }, "_codes": [ 64 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SmiAddInlineCache", "_kind": "Stub" }, "_codes": [ 65 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SmiLessInlineCache", "_kind": "Stub" }, "_codes": [ 66 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SmiEqualInlineCache", "_kind": "Stub" }, "_codes": [ 67 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OneArgOptimizedCheckInlineCache", "_kind": "Stub" }, "_codes": [ 68 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TwoArgsOptimizedCheckInlineCache", "_kind": "Stub" }, "_codes": [ 69 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ZeroArgsUnoptimizedStaticCall", "_kind": "Stub" }, "_codes": [ 70 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OneArgUnoptimizedStaticCall", "_kind": "Stub" }, "_codes": [ 71 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TwoArgsUnoptimizedStaticCall", "_kind": "Stub" }, "_codes": [ 72 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AssertSubtype", "_kind": "Stub" }, "_codes": [ 73 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AssertAssignable", "_kind": "Stub" }, "_codes": [ 74 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TypeIsTopTypeForSubtyping", "_kind": "Stub" }, "_codes": [ 75 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TypeIsTopTypeForSubtypingNullSafe", "_kind": "Stub" }, "_codes": [ 76 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullIsAssignableToType", "_kind": "Stub" }, "_codes": [ 77 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullIsAssignableToTypeNullSafe", "_kind": "Stub" }, "_codes": [ 78 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Subtype1TestCache", "_kind": "Stub" }, "_codes": [ 79 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Subtype3TestCache", "_kind": "Stub" }, "_codes": [ 80 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Subtype5TestCache", "_kind": "Stub" }, "_codes": [ 81 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Subtype7TestCache", "_kind": "Stub" }, "_codes": [ 82 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DefaultTypeTest", "_kind": "Stub" }, "_codes": [ 83 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DefaultNullableTypeTest", "_kind": "Stub" }, "_codes": [ 84 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TopTypeTypeTest", "_kind": "Stub" }, "_codes": [ 85 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] UnreachableTypeTest", "_kind": "Stub" }, "_codes": [ 86 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] TypeParameterTypeTest", "_kind": "Stub" }, "_codes": [ 87 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullableTypeParameterTypeTest", "_kind": "Stub" }, "_codes": [ 88 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SlowTypeTest", "_kind": "Stub" }, "_codes": [ 89 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] LazySpecializeTypeTest", "_kind": "Stub" }, "_codes": [ 90 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] LazySpecializeNullableTypeTest", "_kind": "Stub" }, "_codes": [ 91 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallClosureNoSuchMethod", "_kind": "Stub" }, "_codes": [ 92 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] FrameAwaitingMaterialization", "_kind": "Stub" }, "_codes": [ 93 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AsynchronousGapMarker", "_kind": "Stub" }, "_codes": [ 94 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NotLoaded", "_kind": "Stub" }, "_codes": [ 95 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DispatchTableNullError", "_kind": "Stub" }, "_codes": [ 96 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] LateInitializationErrorSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 97 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] LateInitializationErrorSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 98 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullErrorSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 99 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullErrorSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 100 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullArgErrorSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 101 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullArgErrorSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 102 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullCastErrorSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 103 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NullCastErrorSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 104 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] RangeErrorSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 105 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] RangeErrorSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 106 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] StackOverflowSharedWithFPURegs", "_kind": "Stub" }, "_codes": [ 107 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] StackOverflowSharedWithoutFPURegs", "_kind": "Stub" }, "_codes": [ 108 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] DoubleToInteger", "_kind": "Stub" }, "_codes": [ 109 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OneArgCheckInlineCacheWithExactnessCheck", "_kind": "Stub" }, "_codes": [ 110 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] OneArgOptimizedCheckInlineCacheWithExactnessCheck", "_kind": "Stub" }, "_codes": [ 111 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] EnterSafepoint", "_kind": "Stub" }, "_codes": [ 112 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ExitSafepoint", "_kind": "Stub" }, "_codes": [ 113 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ExitSafepointIgnoreUnwindInProgress", "_kind": "Stub" }, "_codes": [ 114 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CallNativeThroughSafepoint", "_kind": "Stub" }, "_codes": [ 115 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitStaticField", "_kind": "Stub" }, "_codes": [ 116 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitLateStaticField", "_kind": "Stub" }, "_codes": [ 117 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitLateFinalStaticField", "_kind": "Stub" }, "_codes": [ 118 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitInstanceField", "_kind": "Stub" }, "_codes": [ 119 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitLateInstanceField", "_kind": "Stub" }, "_codes": [ 120 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitLateFinalInstanceField", "_kind": "Stub" }, "_codes": [ 121 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Throw", "_kind": "Stub" }, "_codes": [ 122 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ReThrow", "_kind": "Stub" }, "_codes": [ 123 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AssertBoolean", "_kind": "Stub" }, "_codes": [ 124 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstanceOf", "_kind": "Stub" }, "_codes": [ 125 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateType", "_kind": "Stub" }, "_codes": [ 126 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeNonNullableClassTypeParameter", "_kind": "Stub" }, "_codes": [ 127 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeNullableClassTypeParameter", "_kind": "Stub" }, "_codes": [ 128 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeLegacyClassTypeParameter", "_kind": "Stub" }, "_codes": [ 129 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeNonNullableFunctionTypeParameter", "_kind": "Stub" }, "_codes": [ 130 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeNullableFunctionTypeParameter", "_kind": "Stub" }, "_codes": [ 131 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeLegacyFunctionTypeParameter", "_kind": "Stub" }, "_codes": [ 132 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeArguments", "_kind": "Stub" }, "_codes": [ 133 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeArgumentsMayShareInstantiatorTA", "_kind": "Stub" }, "_codes": [ 134 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InstantiateTypeArgumentsMayShareFunctionTA", "_kind": "Stub" }, "_codes": [ 135 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] NoSuchMethodDispatcher", "_kind": "Stub" }, "_codes": [ 136 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 34, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Await", "_kind": "Stub" }, "_codes": [ 137 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitAsync", "_kind": "Stub" }, "_codes": [ 138 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Resume", "_kind": "Stub" }, "_codes": [ 139 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ReturnAsync", "_kind": "Stub" }, "_codes": [ 140 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ReturnAsyncNotFuture", "_kind": "Stub" }, "_codes": [ 141 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitAsyncStar", "_kind": "Stub" }, "_codes": [ 142 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] YieldAsyncStar", "_kind": "Stub" }, "_codes": [ 143 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] ReturnAsyncStar", "_kind": "Stub" }, "_codes": [ 144 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] InitSyncStar", "_kind": "Stub" }, "_codes": [ 145 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SuspendSyncStarAtStart", "_kind": "Stub" }, "_codes": [ 146 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] SuspendSyncStarAtYield", "_kind": "Stub" }, "_codes": [ 147 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] AsyncExceptionHandler", "_kind": "Stub" }, "_codes": [ 148 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] CloneSuspendState", "_kind": "Stub" }, "_codes": [ 149 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] _iso_stub_BuildGenericMethodExtractorStub", "_kind": "Stub" }, "_codes": [ 150 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] _iso_stub_BuildNonGenericMethodExtractorStub", "_kind": "Stub" }, "_codes": [ 151 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_getPrintClosure%4015225868", "name": "_getPrintClosure", "_vmName": "_getPrintClosure@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 963, "endTokenPos": 1017, "line": 33, "column": 1 } }, "_codes": [ 152 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_setWorkingDirectory%4015225868", "name": "_setWorkingDirectory", "_vmName": "_setWorkingDirectory@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 16344, "endTokenPos": 16659, "line": 511, "column": 1 } }, "_codes": [ 153 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_setupHooks%4015225868", "name": "_setupHooks", "_vmName": "_setupHooks@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 18894, "endTokenPos": 19098, "line": 589, "column": 1 } }, "_codes": [ 154 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_Uri%400150898.directory", "name": "_Uri.directory", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 66671, "endTokenPos": 66846, "line": 1802, "column": 3 } }, "_codes": [ 155 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/uri_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_isWindows%400150898", "name": "_isWindows", "_vmName": "get:_isWindows@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Furi_patch.dart/0", "uri": "dart:core-patch/uri_patch.dart", "_kind": "kernel" }, "tokenPos": 843, "endTokenPos": 898, "line": 32, "column": 3 } }, "_codes": [ 156 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/uri_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_isWindowsCached%400150898", "name": "_isWindowsCached", "_vmName": "get:_isWindowsCached@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Furi_patch.dart/0", "uri": "dart:core-patch/uri_patch.dart", "_kind": "kernel" }, "tokenPos": 698, "endTokenPos": 735, "line": 27, "column": 21 } }, "_codes": [ 157 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/uri_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/field_inits/_isWindowsCached%400150898", "name": "_isWindowsCached", "_vmName": "init:_isWindowsCached@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Furi_patch.dart/0", "uri": "dart:core-patch/uri_patch.dart", "_kind": "kernel" }, "tokenPos": 698, "endTokenPos": 735, "line": 27, "column": 21 } }, "_codes": [ 158 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/uri_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_isWindowsPlatform%400150898", "name": "_isWindowsPlatform", "_vmName": "get:_isWindowsPlatform@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Furi_patch.dart/0", "uri": "dart:core-patch/uri_patch.dart", "_kind": "kernel" }, "tokenPos": 740, "endTokenPos": 838, "line": 29, "column": 3 } }, "_codes": [ 159 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: bool", "_kind": "Stub" }, "_codes": [ 160 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeFileUri%400150898", "name": "_makeFileUri", "_vmName": "_makeFileUri@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 68252, "endTokenPos": 68719, "line": 1852, "column": 3 } }, "_codes": [ 161 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/split", "name": "split", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 34939, "endTokenPos": 35456, "line": 1035, "column": 3 } }, "_codes": [ 162 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/class_id_fasta.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/638/functions/getID", "name": "getID", "owner": { "type": "@Class", "fixedId": true, "id": "classes/638", "name": "ClassID", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Fclass_id_fasta.dart/0", "uri": "dart:_internal-patch/class_id_fasta.dart", "_kind": "kernel" }, "tokenPos": 252, "endTokenPos": 1674, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Fclass_id_fasta.dart/0", "uri": "dart:_internal-patch/class_id_fasta.dart", "_kind": "kernel" }, "tokenPos": 296, "endTokenPos": 471, "line": 9, "column": 3 } }, "_codes": [ 163 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 9573, "endTokenPos": 9774, "line": 264, "column": 3 } }, "_codes": [ 164 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/codeUnitAt", "name": "codeUnitAt", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33787, "endTokenPos": 33970, "line": 998, "column": 3 } }, "_codes": [ 165 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_splitWithCharCode%400150898", "name": "_splitWithCharCode", "_vmName": "_splitWithCharCode@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 34575, "endTokenPos": 34934, "line": 1021, "column": 3 } }, "_codes": [ 166 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_GrowableList%400150898.", "name": "_GrowableList", "_vmName": "_GrowableList@0150898.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1146", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 2904, "endTokenPos": 3115, "line": 96, "column": 3 } }, "_codes": [ 167 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_allocateData%400150898", "name": "_allocateData", "_vmName": "_allocateData@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1147", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 10877, "endTokenPos": 11068, "line": 360, "column": 3 } }, "_codes": [ 168 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3A_emptyList%400150898", "name": "_emptyList", "_vmName": "get:_emptyList@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1148", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 10847, "endTokenPos": 10872, "line": 358, "column": 22 } }, "_codes": [ 169 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/field_inits/_emptyList%400150898", "name": "_emptyList", "_vmName": "init:_emptyList@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1149", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 10847, "endTokenPos": 10872, "line": 358, "column": 22 } }, "_codes": [ 170 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/87/functions/_List%400150898.", "name": "_List", "_vmName": "_List@0150898.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/87", "name": "_List", "_vmName": "_List@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2280, "endTokenPos": 7831, "line": 80, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1150", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2556, "endTokenPos": 2586, "line": 87, "column": 3 } }, "_codes": [ 171 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_GrowableList%400150898._withData%400150898", "name": "_GrowableList._withData", "_vmName": "_GrowableList@0150898._withData@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1151", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 6573, "endTokenPos": 6625, "line": 212, "column": 3 } }, "_codes": [ 172 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%3E", "name": ">", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 5423, "endTokenPos": 5615, "line": 142, "column": 3 } }, "_codes": [ 173 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_substringUnchecked%400150898", "name": "_substringUnchecked", "_vmName": "_substringUnchecked@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 13696, "endTokenPos": 14221, "line": 404, "column": 3 } }, "_codes": [ 174 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/add", "name": "add", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1152", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 8623, "endTokenPos": 8844, "line": 275, "column": 3 } }, "_codes": [ 175 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: String", "_kind": "Stub" }, "_codes": [ 176 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1153", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 6847, "endTokenPos": 7054, "line": 220, "column": 3 } }, "_codes": [ 177 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3A_capacity%400150898", "name": "_capacity", "_vmName": "get:_capacity@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1154", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 6630, "endTokenPos": 6842, "line": 214, "column": 3 } }, "_codes": [ 178 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_growToNextCapacity%400150898", "name": "_growToNextCapacity", "_vmName": "_growToNextCapacity@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1155", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 12104, "endTokenPos": 12201, "line": 394, "column": 3 } }, "_codes": [ 179 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_nextCapacity%400150898", "name": "_nextCapacity", "_vmName": "_nextCapacity@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1156", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 11292, "endTokenPos": 11353, "line": 373, "column": 3 } }, "_codes": [ 180 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%2A", "name": "*", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 743, "endTokenPos": 958, "line": 18, "column": 3 } }, "_codes": [ 181 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%7C", "name": "|", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 2277, "endTokenPos": 2494, "line": 65, "column": 3 } }, "_codes": [ 182 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_grow%400150898", "name": "_grow", "_vmName": "_grow@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1157", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 11358, "endTokenPos": 11928, "line": 375, "column": 3 } }, "_codes": [ 183 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_adjustedCapacity%400150898", "name": "_adjustedCapacity", "_vmName": "_adjustedCapacity@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1158", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 11185, "endTokenPos": 11243, "line": 370, "column": 3 } }, "_codes": [ 184 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_setData%400150898", "name": "_setData", "_vmName": "_setData@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1159", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 8074, "endTokenPos": 8209, "line": 258, "column": 3 } }, "_codes": [ 185 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_setLength%400150898", "name": "_setLength", "_vmName": "_setLength@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1160", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 7927, "endTokenPos": 8069, "line": 254, "column": 3 } }, "_codes": [ 186 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/%5B%5D%3D", "name": "[]=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1161", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 8355, "endTokenPos": 8464, "line": 266, "column": 3 } }, "_codes": [ 187 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_setIndexed%400150898", "name": "_setIndexed", "_vmName": "_setIndexed@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1162", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 8469, "endTokenPos": 8618, "line": 271, "column": 3 } }, "_codes": [ 188 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_substringUncheckedNative%400150898", "name": "_substringUncheckedNative", "_vmName": "_substringUncheckedNative@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 34339, "endTokenPos": 34570, "line": 1016, "column": 3 } }, "_codes": [ 189 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/%5B%5D", "name": "[]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1163", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 8214, "endTokenPos": 8350, "line": 262, "column": 3 } }, "_codes": [ 190 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/87/functions/%5B%5D%3D", "name": "[]=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/87", "name": "_List", "_vmName": "_List@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2280, "endTokenPos": 7831, "line": 80, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1164", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 5398, "endTokenPos": 5507, "line": 177, "column": 3 } }, "_codes": [ 191 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/87/functions/_setIndexed%400150898", "name": "_setIndexed", "_vmName": "_setIndexed@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/87", "name": "_List", "_vmName": "_List@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2280, "endTokenPos": 7831, "line": 80, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1165", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 5512, "endTokenPos": 5652, "line": 182, "column": 3 } }, "_codes": [ 192 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3AisNotEmpty", "name": "isNotEmpty", "_vmName": "get:isNotEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1166", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 15148, "endTokenPos": 15179, "line": 496, "column": 3 } }, "_codes": [ 193 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3AisEmpty", "name": "isEmpty", "_vmName": "get:isEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1167", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 15093, "endTokenPos": 15143, "line": 492, "column": 3 } }, "_codes": [ 194 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/get%3Alast", "name": "last", "_vmName": "get:last", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1168", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 10492, "endTokenPos": 10596, "line": 346, "column": 3 } }, "_codes": [ 195 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/-", "name": "-", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 524, "endTokenPos": 739, "line": 13, "column": 3 } }, "_codes": [ 196 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/get%3AisNotEmpty", "name": "isNotEmpty", "_vmName": "get:isNotEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 9918, "endTokenPos": 9949, "line": 276, "column": 3 } }, "_codes": [ 197 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/get%3AisEmpty", "name": "isEmpty", "_vmName": "get:isEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 9779, "endTokenPos": 9913, "line": 270, "column": 3 } }, "_codes": [ 198 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate RangeError", "_kind": "Stub" }, "_codes": [ 199 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/startsWith", "name": "startsWith", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 11589, "endTokenPos": 11892, "line": 341, "column": 3 } }, "_codes": [ 200 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/43/functions/_simpleInstanceOfTrue%400150898", "name": "_simpleInstanceOfTrue", "_vmName": "_simpleInstanceOfTrue@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/43", "name": "Object", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 835, "endTokenPos": 19160, "line": 17, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fobject_patch.dart/0", "uri": "dart:core-patch/object_patch.dart", "_kind": "kernel" }, "tokenPos": 2258, "endTokenPos": 2334, "line": 64, "column": 3 } }, "_codes": [ 201 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_substringMatches%400150898", "name": "_substringMatches", "_vmName": "_substringMatches@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 11048, "endTokenPos": 11482, "line": 321, "column": 3 } }, "_codes": [ 202 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _Uri", "_kind": "Stub" }, "_codes": [ 203 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_Uri%400150898.", "name": "_Uri", "_vmName": "_Uri@0150898.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 60771, "endTokenPos": 62524, "line": 1623, "column": 3 } }, "_codes": [ 204 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate ReachabilityError", "_kind": "Stub" }, "_codes": [ 205 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeScheme%400150898", "name": "_makeScheme", "_vmName": "_makeScheme@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 82818, "endTokenPos": 83592, "line": 2257, "column": 3 } }, "_codes": [ 206 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_isAlphabeticCharacter%400150898", "name": "_isAlphabeticCharacter", "_vmName": "_isAlphabeticCharacter@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 110631, "endTokenPos": 110792, "line": 3062, "column": 3 } }, "_codes": [ 207 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%3C%3D", "name": "<=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 5816, "endTokenPos": 6007, "line": 156, "column": 3 } }, "_codes": [ 208 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_isSchemeCharacter%400150898", "name": "_isSchemeCharacter", "_vmName": "_isSchemeCharacter@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 92954, "endTokenPos": 93073, "line": 2531, "column": 3 } }, "_codes": [ 209 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%3E%3E", "name": ">>", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 4588, "endTokenPos": 4804, "line": 119, "column": 3 } }, "_codes": [ 210 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/171/functions/%5B%5D", "name": "[]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/171", "name": "_Array", "_vmName": "_Array@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 2244, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1169", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 308, "endTokenPos": 436, "line": 8, "column": 3 } }, "_codes": [ 211 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%26", "name": "&", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 2055, "endTokenPos": 2273, "line": 60, "column": 3 } }, "_codes": [ 212 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%3C%3C", "name": "<<", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 5030, "endTokenPos": 5244, "line": 129, "column": 3 } }, "_codes": [ 213 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/substring", "name": "substring", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 13505, "endTokenPos": 13691, "line": 399, "column": 3 } }, "_codes": [ 214 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/errors.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/228/functions/checkValidRange", "name": "checkValidRange", "owner": { "type": "@Class", "fixedId": true, "id": "classes/228", "name": "RangeError", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Ferrors.dart/0", "uri": "dart:core/errors.dart", "_kind": "kernel" }, "tokenPos": 9012, "endTokenPos": 15327, "line": 238, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Ferrors.dart/0", "uri": "dart:core/errors.dart", "_kind": "kernel" }, "tokenPos": 13456, "endTokenPos": 14047, "line": 352, "column": 3 } }, "_codes": [ 215 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_canonicalizeScheme%400150898", "name": "_canonicalizeScheme", "_vmName": "_canonicalizeScheme@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 83717, "endTokenPos": 83961, "line": 2281, "column": 3 } }, "_codes": [ 216 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/%3D%3D", "name": "==", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 34072, "endTokenPos": 34334, "line": 1007, "column": 3 } }, "_codes": [ 217 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_stringOrNullLength%400150898", "name": "_stringOrNullLength", "_vmName": "_stringOrNullLength@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 178123, "endTokenPos": 178187, "line": 4891, "column": 1 } }, "_codes": [ 218 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeUserInfo%400150898", "name": "_makeUserInfo", "_vmName": "_makeUserInfo@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 83966, "endTokenPos": 84145, "line": 2289, "column": 3 } }, "_codes": [ 219 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeHost%400150898", "name": "_makeHost", "_vmName": "_makeHost@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 75141, "endTokenPos": 76765, "line": 2049, "column": 3 } }, "_codes": [ 220 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/43/functions/%3D%3D", "name": "==", "owner": { "type": "@Class", "fixedId": true, "id": "classes/43", "name": "Object", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 835, "endTokenPos": 19160, "line": 17, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fobject_patch.dart/0", "uri": "dart:core-patch/object_patch.dart", "_kind": "kernel" }, "tokenPos": 515, "endTokenPos": 724, "line": 16, "column": 3 } }, "_codes": [ 221 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate ArgumentError", "_kind": "Stub" }, "_codes": [ 222 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate StringBuffer", "_kind": "Stub" }, "_codes": [ 223 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeQuery%400150898", "name": "_makeQuery", "_vmName": "_makeQuery@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 85630, "endTokenPos": 86737, "line": 2331, "column": 3 } }, "_codes": [ 224 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makeFragment%400150898", "name": "_makeFragment", "_vmName": "_makeFragment@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 86742, "endTokenPos": 86957, "line": 2368, "column": 3 } }, "_codes": [ 225 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makePort%400150898", "name": "_makePort", "_vmName": "_makePort@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 74495, "endTokenPos": 74677, "line": 2034, "column": 3 } }, "_codes": [ 226 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makePath%400150898", "name": "_makePath", "_vmName": "_makePath@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 84150, "endTokenPos": 85064, "line": 2294, "column": 3 } }, "_codes": [ 227 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate MappedListIterable", "_kind": "Stub" }, "_codes": [ 228 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/collection/list.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/458/functions/map", "name": "map", "owner": { "type": "@Class", "fixedId": true, "id": "classes/458", "name": "_ListBase&Object&ListMixin", "_vmName": "_ListBase&Object&ListMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection%2Flist.dart/0", "uri": "dart:collection/list.dart", "_kind": "kernel" }, "tokenPos": 1527, "endTokenPos": 2055, "line": 33, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1170", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection%2Flist.dart/0", "uri": "dart:collection/list.dart", "_kind": "kernel" }, "tokenPos": 7173, "endTokenPos": 7244, "line": 215, "column": 3 } }, "_codes": [ 229 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/671/functions/MappedListIterable.", "name": "MappedListIterable", "_vmName": "MappedListIterable.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/671", "name": "MappedListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11300, "endTokenPos": 11561, "line": 406, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1099098386, "kind": "TypeParameter", "id": "objects/1171", "name": "C1X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1818580327, "kind": "TypeParameter", "id": "objects/1172", "name": "C1X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11423, "endTokenPos": 11464, "line": 410, "column": 3 } }, "_codes": [ 230 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/245/functions/ListIterable.", "name": "ListIterable", "_vmName": "ListIterable.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/245", "name": "ListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 817, "endTokenPos": 6140, "line": 28, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1173", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 928, "endTokenPos": 948, "line": 32, "column": 3 } }, "_codes": [ 231 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/248/functions/EfficientLengthIterable.", "name": "EfficientLengthIterable", "_vmName": "EfficientLengthIterable.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/248", "name": "EfficientLengthIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 347, "endTokenPos": 628, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1174", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 413, "endTokenPos": 444, "line": 12, "column": 3 } }, "_codes": [ 232 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/214/functions/Iterable.", "name": "Iterable", "_vmName": "Iterable.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/214", "name": "Iterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fiterable.dart/0", "uri": "dart:core/iterable.dart", "_kind": "kernel" }, "tokenPos": 4281, "endTokenPos": 30548, "line": 84, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1175", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fiterable.dart/0", "uri": "dart:core/iterable.dart", "_kind": "kernel" }, "tokenPos": 4448, "endTokenPos": 4464, "line": 87, "column": 3 } }, "_codes": [ 233 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/object.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/43/functions/Object.", "name": "Object", "_vmName": "Object.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/43", "name": "Object", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 835, "endTokenPos": 19160, "line": 17, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 1076, "endTokenPos": 1126, "line": 24, "column": 3 } }, "_codes": [ 234 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate ConcurrentModificationError", "_kind": "Stub" }, "_codes": [ 235 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/245/functions/join", "name": "join", "owner": { "type": "@Class", "fixedId": true, "id": "classes/245", "name": "ListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 817, "endTokenPos": 6140, "line": 28, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1176", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 3879, "endTokenPos": 4721, "line": 145, "column": 3 } }, "_codes": [ 236 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/671/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/671", "name": "MappedListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11300, "endTokenPos": 11561, "line": 406, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1099098386, "kind": "TypeParameter", "id": "objects/1177", "name": "C1X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1818580327, "kind": "TypeParameter", "id": "objects/1178", "name": "C1X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11469, "endTokenPos": 11501, "line": 412, "column": 3 } }, "_codes": [ 237 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/671/functions/get%3A_source%409040228", "name": "_source", "_vmName": "get:_source@9040228", "owner": { "type": "@Class", "fixedId": true, "id": "classes/671", "name": "MappedListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11300, "endTokenPos": 11561, "line": 406, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1099098386, "kind": "TypeParameter", "id": "objects/1179", "name": "C1X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1818580327, "kind": "TypeParameter", "id": "objects/1180", "name": "C1X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11377, "endTokenPos": 11384, "line": 407, "column": 21 } }, "_codes": [ 238 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/671/functions/elementAt", "name": "elementAt", "owner": { "type": "@Class", "fixedId": true, "id": "classes/671", "name": "MappedListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11300, "endTokenPos": 11561, "line": 406, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1099098386, "kind": "TypeParameter", "id": "objects/1181", "name": "C1X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1818580327, "kind": "TypeParameter", "id": "objects/1182", "name": "C1X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11505, "endTokenPos": 11559, "line": 413, "column": 3 } }, "_codes": [ 239 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/elementAt", "name": "elementAt", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1183", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 15037, "endTokenPos": 15088, "line": 488, "column": 3 } }, "_codes": [ 240 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/iterable.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/671/functions/get%3A_f%409040228", "name": "_f", "_vmName": "get:_f@9040228", "owner": { "type": "@Class", "fixedId": true, "id": "classes/671", "name": "MappedListIterable", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11300, "endTokenPos": 11561, "line": 406, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1099098386, "kind": "TypeParameter", "id": "objects/1184", "name": "C1X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 1818580327, "kind": "TypeParameter", "id": "objects/1185", "name": "C1X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal%2Fiterable.dart/0", "uri": "dart:_internal/iterable.dart", "_kind": "kernel" }, "tokenPos": 11416, "endTokenPos": 11418, "line": 408, "column": 31 } }, "_codes": [ 241 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/closures/2", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_makePath%400150898", "name": "_makePath", "_vmName": "_makePath@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 84150, "endTokenPos": 85064, "line": 2294, "column": 3 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 84518, "endTokenPos": 84567, "line": 2302, "column": 16 } }, "_codes": [ 242 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/uri_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_uriEncode%400150898", "name": "_uriEncode", "_vmName": "_uriEncode@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Furi_patch.dart/0", "uri": "dart:core-patch/uri_patch.dart", "_kind": "kernel" }, "tokenPos": 903, "endTokenPos": 2502, "line": 35, "column": 3 } }, "_codes": [ 243 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_interpolateSingle%400150898", "name": "_interpolateSingle", "_vmName": "_interpolateSingle@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 28306, "endTokenPos": 28590, "line": 828, "column": 3 } }, "_codes": [ 244 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/StringBuffer.", "name": "StringBuffer", "_vmName": "StringBuffer.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1809, "endTokenPos": 1878, "line": 54, "column": 3 } }, "_codes": [ 245 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/write", "name": "write", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1948, "endTokenPos": 2080, "line": 62, "column": 3 } }, "_codes": [ 246 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/_consumeBuffer%400150898", "name": "_consumeBuffer", "_vmName": "_consumeBuffer@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 4223, "endTokenPos": 4475, "line": 148, "column": 3 } }, "_codes": [ 247 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/get%3A_bufferPosition%400150898", "name": "_bufferPosition", "_vmName": "get:_bufferPosition@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1368, "endTokenPos": 1387, "line": 41, "column": 7 } }, "_codes": [ 248 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/_addPart%400150898", "name": "_addPart", "_vmName": "_addPart@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 4607, "endTokenPos": 5151, "line": 160, "column": 3 } }, "_codes": [ 249 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/get%3A_parts%400150898", "name": "_parts", "_vmName": "get:_parts@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 556, "endTokenPos": 562, "line": 17, "column": 17 } }, "_codes": [ 250 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/get%3A_partsCodeUnits%400150898", "name": "_partsCodeUnits", "_vmName": "get:_partsCodeUnits@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 697, "endTokenPos": 716, "line": 23, "column": 7 } }, "_codes": [ 251 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/set%3A_partsCodeUnits%400150898", "name": "_partsCodeUnits=", "_vmName": "set:_partsCodeUnits@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 697, "endTokenPos": 716, "line": 23, "column": 7 } }, "_codes": [ 252 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/get%3A_partsCodeUnitsSinceCompaction%400150898", "name": "_partsCodeUnitsSinceCompaction", "_vmName": "get:_partsCodeUnitsSinceCompaction@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1105, "endTokenPos": 1139, "line": 33, "column": 7 } }, "_codes": [ 253 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/set%3A_partsCodeUnitsSinceCompaction%400150898", "name": "_partsCodeUnitsSinceCompaction=", "_vmName": "set:_partsCodeUnitsSinceCompaction@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1105, "endTokenPos": 1139, "line": 33, "column": 7 } }, "_codes": [ 254 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_GrowableList%400150898.withCapacity", "name": "_GrowableList.withCapacity", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1186", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 3120, "endTokenPos": 3262, "line": 105, "column": 3 } }, "_codes": [ 255 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/set%3A_parts%400150898", "name": "_parts=", "_vmName": "set:_parts@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 556, "endTokenPos": 562, "line": 17, "column": 17 } }, "_codes": [ 256 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%3E%3D", "name": ">=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 5620, "endTokenPos": 5811, "line": 149, "column": 3 } }, "_codes": [ 257 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/get%3A_partsCompactionIndex%400150898", "name": "_partsCompactionIndex", "_vmName": "get:_partsCompactionIndex@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 1072, "endTokenPos": 1097, "line": 32, "column": 7 } }, "_codes": [ 258 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_buffer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/258/functions/toString", "name": "toString", "owner": { "type": "@Class", "fixedId": true, "id": "classes/258", "name": "StringBuffer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fstring_buffer.dart/0", "uri": "dart:core/string_buffer.dart", "_kind": "kernel" }, "tokenPos": 2503, "endTokenPos": 3775, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_buffer_patch.dart/0", "uri": "dart:core-patch/string_buffer_patch.dart", "_kind": "kernel" }, "tokenPos": 3508, "endTokenPos": 3731, "line": 124, "column": 3 } }, "_codes": [ 259 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_concatRange%400150898", "name": "_concatRange", "_vmName": "_concatRange@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 32419, "endTokenPos": 32609, "line": 954, "column": 3 } }, "_codes": [ 260 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_concatRangeNative%400150898", "name": "_concatRangeNative", "_vmName": "_concatRangeNative@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 32740, "endTokenPos": 32867, "line": 963, "column": 3 } }, "_codes": [ 261 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_normalizePath%400150898", "name": "_normalizePath", "_vmName": "_normalizePath@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 85356, "endTokenPos": 85625, "line": 2324, "column": 3 } }, "_codes": [ 262 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_removeDotSegments%400150898", "name": "_removeDotSegments", "_vmName": "_removeDotSegments@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 95103, "endTokenPos": 95803, "line": 2592, "column": 3 } }, "_codes": [ 263 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_mayContainDotSegments%400150898", "name": "_mayContainDotSegments", "_vmName": "_mayContainDotSegments@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 94684, "endTokenPos": 94839, "line": 2581, "column": 3 } }, "_codes": [ 264 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/indexOf", "name": "indexOf", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 36060, "endTokenPos": 36853, "line": 1067, "column": 3 } }, "_codes": [ 265 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/indexOf", "name": "indexOf", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 11897, "endTokenPos": 12687, "line": 351, "column": 3 } }, "_codes": [ 266 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/unary-", "name": "unary-", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 1725, "endTokenPos": 2050, "line": 50, "column": 3 } }, "_codes": [ 267 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_Uri%400150898._internal%400150898", "name": "_Uri._internal", "_vmName": "_Uri@0150898._internal@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 58898, "endTokenPos": 59011, "line": 1566, "column": 3 } }, "_codes": [ 268 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: _Uri@0150898", "_kind": "Stub" }, "_codes": [ 269 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_getIsolateScheduleImmediateClosure%401026248", "name": "_getIsolateScheduleImmediateClosure", "_vmName": "_getIsolateScheduleImmediateClosure@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3752, "endTokenPos": 3871, "line": 128, "column": 1 } }, "_codes": [ 270 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/schedule_microtask_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_setScheduleImmediateClosure%404048458", "name": "_setScheduleImmediateClosure", "_vmName": "_setScheduleImmediateClosure@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fschedule_microtask_patch.dart/0", "uri": "dart:async-patch/schedule_microtask_patch.dart", "_kind": "kernel" }, "tokenPos": 647, "endTokenPos": 793, "line": 25, "column": 1 } }, "_codes": [ 271 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/directory_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_getUriBaseClosure%4014069316", "name": "_getUriBaseClosure", "_vmName": "_getUriBaseClosure@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Fdirectory_patch.dart/0", "uri": "dart:io-patch/directory_patch.dart", "_kind": "kernel" }, "tokenPos": 2611, "endTokenPos": 2684, "line": 77, "column": 1 } }, "_codes": [ 272 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_setupHooks%401026248", "name": "_setupHooks", "_vmName": "_setupHooks@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 15449, "endTokenPos": 15548, "line": 485, "column": 1 } }, "_codes": [ 273 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/common_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_setupHooks%4014069316", "name": "_setupHooks", "_vmName": "_setupHooks@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Fcommon_patch.dart/0", "uri": "dart:io-patch/common_patch.dart", "_kind": "kernel" }, "tokenPos": 2348, "endTokenPos": 2542, "line": 79, "column": 1 } }, "_codes": [ 274 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/cli/wait_for.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@17180024/functions/_getWaitForEvent%4017180024", "name": "_getWaitForEvent", "_vmName": "_getWaitForEvent@17180024", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@17180024", "name": "dart.cli", "uri": "dart:cli" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@17180024/scripts/dart%3Acli%2Fwait_for.dart/0", "uri": "dart:cli/wait_for.dart", "_kind": "kernel" }, "tokenPos": 2395, "endTokenPos": 2475, "line": 49, "column": 1 } }, "_codes": [ 275 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/platform_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1036/functions/set%3A_nativeScript%4014069316", "name": "_nativeScript=", "_vmName": "set:_nativeScript@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1036", "name": "_Platform", "_vmName": "_Platform@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform_impl.dart/0", "uri": "dart:io/platform_impl.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 3955, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "SetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Fplatform_patch.dart/0", "uri": "dart:io-patch/platform_patch.dart", "_kind": "kernel" }, "tokenPos": 1799, "endTokenPos": 2267, "line": 54, "column": 3 } }, "_codes": [ 276 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/635/functions/set%3AplatformScript", "name": "platformScript=", "_vmName": "set:platformScript", "owner": { "type": "@Class", "fixedId": true, "id": "classes/635", "name": "VMLibraryHooks", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 3270, "endTokenPos": 4257, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" } }, "_kind": "SetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 4046, "endTokenPos": 4159, "line": 94, "column": 3 } }, "_codes": [ 277 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1029/functions/_registerServiceExtension%4014069316", "name": "_registerServiceExtension", "_vmName": "_registerServiceExtension@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1029", "name": "_NetworkProfiling", "_vmName": "_NetworkProfiling@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 413, "endTokenPos": 5792, "line": 14, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 1940, "endTokenPos": 2913, "line": 43, "column": 3 } }, "_codes": [ 278 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/registerExtension", "name": "registerExtension", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 4307, "endTokenPos": 4852, "line": 114, "column": 1 } }, "_codes": [ 279 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate NotNullableError", "_kind": "Stub" }, "_codes": [ 280 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/internal.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/checkNotNullable", "name": "checkNotNullable", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3A_internal/0", "uri": "dart:_internal", "_kind": "kernel" }, "tokenPos": 21691, "endTokenPos": 21845, "line": 758, "column": 1 } }, "_codes": [ 281 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_lookupExtension%405383715", "name": "_lookupExtension", "_vmName": "_lookupExtension@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 1942, "endTokenPos": 2071, "line": 63, "column": 1 } }, "_codes": [ 282 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_registerExtension%405383715", "name": "_registerExtension", "_vmName": "_registerExtension@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 2074, "endTokenPos": 2215, "line": 67, "column": 1 } }, "_codes": [ 283 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_resolveScriptUri%4015225868", "name": "_resolveScriptUri", "_vmName": "_resolveScriptUri@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 18066, "endTokenPos": 18822, "line": 561, "column": 1 } }, "_codes": [ 284 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/get%3A_workingDirectory%4015225868", "name": "_workingDirectory", "_vmName": "get:_workingDirectory@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 1094, "endTokenPos": 1111, "line": 37, "column": 10 } }, "_codes": [ 285 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_sanitizeWindowsPath%4015225868", "name": "_sanitizeWindowsPath", "_vmName": "_sanitizeWindowsPath@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 2294, "endTokenPos": 2822, "line": 72, "column": 1 } }, "_codes": [ 286 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _SimpleUri", "_kind": "Stub" }, "_codes": [ 287 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/261/functions/parse", "name": "parse", "owner": { "type": "@Class", "fixedId": true, "id": "classes/261", "name": "Uri", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 3770, "endTokenPos": 56642, "line": 108, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 31537, "endTokenPos": 43397, "line": 839, "column": 3 } }, "_codes": [ 288 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_startsWithData%400150898", "name": "_startsWithData", "_vmName": "_startsWithData@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 177652, "endTokenPos": 178047, "line": 4880, "column": 1 } }, "_codes": [ 289 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/%5E", "name": "^", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 2498, "endTokenPos": 2716, "line": 70, "column": 3 } }, "_codes": [ 290 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/87/functions/_List%400150898.filled", "name": "_List.filled", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/87", "name": "_List", "_vmName": "_List@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2280, "endTokenPos": 7831, "line": 80, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1187", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 2943, "endTokenPos": 3156, "line": 96, "column": 3 } }, "_codes": [ 291 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/171/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/171", "name": "_Array", "_vmName": "_Array@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 2244, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1188", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Farray.dart/0", "uri": "dart:core-patch/array.dart", "_kind": "kernel" }, "tokenPos": 441, "endTokenPos": 640, "line": 12, "column": 3 } }, "_codes": [ 292 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: int", "_kind": "Stub" }, "_codes": [ 293 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_scan%400150898", "name": "_scan", "_vmName": "_scan@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 159949, "endTokenPos": 160472, "line": 4353, "column": 1 } }, "_codes": [ 294 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/get%3A_scannerTables%400150898", "name": "_scannerTables", "_vmName": "get:_scannerTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 147445, "endTokenPos": 147477, "line": 4040, "column": 23 } }, "_codes": [ 295 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/field_inits/_scannerTables%400150898", "name": "_scannerTables", "_vmName": "init:_scannerTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 147445, "endTokenPos": 147477, "line": 4040, "column": 23 } }, "_codes": [ 296 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_createTables%400150898", "name": "_createTables", "_vmName": "_createTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 151387, "endTokenPos": 159631, "line": 4110, "column": 1 } }, "_codes": [ 297 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_GrowableList%400150898.generate", "name": "_GrowableList.generate", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1189", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 4125, "endTokenPos": 4344, "line": 133, "column": 3 } }, "_codes": [ 298 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/closures/4", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_createTables%400150898", "name": "_createTables", "_vmName": "_createTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 151387, "endTokenPos": 159631, "line": 4110, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 153145, "endTokenPos": 153165, "line": 4161, "column": 53 } }, "_codes": [ 299 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/779/functions/Uint8List.", "name": "Uint8List", "_vmName": "Uint8List.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/779", "name": "Uint8List", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data/0", "uri": "dart:typed_data", "_kind": "kernel" }, "tokenPos": 35365, "endTokenPos": 39876, "line": 835, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 67348, "endTokenPos": 67386, "line": 2221, "column": 3 } }, "_codes": [ 300 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: Uint8List", "_kind": "Stub" }, "_codes": [ 301 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/closures/5", "name": "build", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_createTables%400150898", "name": "_createTables", "_vmName": "_createTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 151387, "endTokenPos": 159631, "line": 4110, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 153285, "endTokenPos": 153386, "line": 4165, "column": 3 } }, "_codes": [ 302 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/777/functions/fillRange", "name": "fillRange", "owner": { "type": "@Class", "fixedId": true, "id": "classes/777", "name": "__Uint8List&_TypedList&_IntListMixin", "_vmName": "__Uint8List&_TypedList&_IntListMixin@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 67546, "endTokenPos": 68559, "line": 2230, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 10700, "endTokenPos": 11000, "line": 381, "column": 3 } }, "_codes": [ 303 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/764/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/764", "name": "_TypedListBase", "_vmName": "_TypedListBase@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 1963, "endTokenPos": 3843, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 1997, "endTokenPos": 2202, "line": 61, "column": 3 } }, "_codes": [ 304 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate IndexError", "_kind": "Stub" }, "_codes": [ 305 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/114/functions/%5B%5D%3D", "name": "[]=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/114", "name": "_Uint8List", "_vmName": "_Uint8List@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 67546, "endTokenPos": 68559, "line": 2230, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 68097, "endTokenPos": 68328, "line": 2249, "column": 3 } }, "_codes": [ 306 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/closures/6", "name": "setChars", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_createTables%400150898", "name": "_createTables", "_vmName": "_createTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 151387, "endTokenPos": 159631, "line": 4110, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 153601, "endTokenPos": 153796, "line": 4172, "column": 3 } }, "_codes": [ 307 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/closures/7", "name": "setRange", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@0150898/functions/_createTables%400150898", "name": "_createTables", "_vmName": "_createTables@0150898", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 151387, "endTokenPos": 159631, "line": 4110, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 154150, "endTokenPos": 154337, "line": 4185, "column": 3 } }, "_codes": [ 308 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/114/functions/%5B%5D", "name": "[]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/114", "name": "_Uint8List", "_vmName": "_Uint8List@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 67546, "endTokenPos": 68559, "line": 2230, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 67832, "endTokenPos": 68092, "line": 2240, "column": 3 } }, "_codes": [ 309 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/_SimpleUri%400150898.", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160886, "endTokenPos": 161082, "line": 4384, "column": 3 } }, "_codes": [ 310 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3AhasScheme", "name": "hasScheme", "_vmName": "get:hasScheme", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 161087, "endTokenPos": 161123, "line": 4394, "column": 3 } }, "_codes": [ 311 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_schemeEnd%400150898", "name": "_schemeEnd", "_vmName": "get:_schemeEnd@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160542, "endTokenPos": 160552, "line": 4371, "column": 13 } }, "_codes": [ 312 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/resolveUri", "name": "resolveUri", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 98635, "endTokenPos": 102483, "line": 2698, "column": 3 } }, "_codes": [ 313 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3Ascheme", "name": "scheme", "_vmName": "get:scheme", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 162223, "endTokenPos": 162291, "line": 4421, "column": 3 } }, "_codes": [ 314 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_schemeCache%400150898", "name": "_schemeCache", "_vmName": "get:_schemeCache@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160846, "endTokenPos": 160858, "line": 4381, "column": 11 } }, "_codes": [ 315 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/_computeScheme%400150898", "name": "_computeScheme", "_vmName": "_computeScheme@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 162296, "endTokenPos": 162538, "line": 4425, "column": 3 } }, "_codes": [ 316 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/set%3A_schemeCache%400150898", "name": "_schemeCache=", "_vmName": "set:_schemeCache@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160846, "endTokenPos": 160858, "line": 4381, "column": 11 } }, "_codes": [ 317 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3Ascheme", "name": "scheme", "_vmName": "get:scheme", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56782, "endTokenPos": 56788, "line": 1505, "column": 16 } }, "_codes": [ 318 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3AhasAuthority", "name": "hasAuthority", "_vmName": "get:hasAuthority", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 161127, "endTokenPos": 161166, "line": 4395, "column": 3 } }, "_codes": [ 319 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_hostStart%400150898", "name": "_hostStart", "_vmName": "get:_hostStart@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160566, "endTokenPos": 160576, "line": 4372, "column": 13 } }, "_codes": [ 320 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_userInfo%400150898", "name": "_userInfo", "_vmName": "get:_userInfo@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57013, "endTokenPos": 57022, "line": 1512, "column": 16 } }, "_codes": [ 321 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_host%400150898", "name": "_host", "_vmName": "get:_host@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57273, "endTokenPos": 57278, "line": 1519, "column": 17 } }, "_codes": [ 322 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_port%400150898", "name": "_port", "_vmName": "get:_port@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57461, "endTokenPos": 57466, "line": 1525, "column": 8 } }, "_codes": [ 323 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3Apath", "name": "path", "_vmName": "get:path", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 163025, "endTokenPos": 163083, "line": 4448, "column": 3 } }, "_codes": [ 324 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_uri%400150898", "name": "_uri", "_vmName": "get:_uri@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160524, "endTokenPos": 160528, "line": 4370, "column": 16 } }, "_codes": [ 325 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_pathStart%400150898", "name": "_pathStart", "_vmName": "get:_pathStart@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160614, "endTokenPos": 160624, "line": 4374, "column": 13 } }, "_codes": [ 326 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_queryStart%400150898", "name": "_queryStart", "_vmName": "get:_queryStart@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160638, "endTokenPos": 160649, "line": 4375, "column": 13 } }, "_codes": [ 327 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3Apath", "name": "path", "_vmName": "get:path", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57540, "endTokenPos": 57544, "line": 1530, "column": 16 } }, "_codes": [ 328 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_packageNameEnd%400150898", "name": "_packageNameEnd", "_vmName": "_packageNameEnd@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 98442, "endTokenPos": 98630, "line": 2691, "column": 3 } }, "_codes": [ 329 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/isScheme", "name": "isScheme", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 63696, "endTokenPos": 63937, "line": 1717, "column": 3 } }, "_codes": [ 330 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3AhasAbsolutePath", "name": "hasAbsolutePath", "_vmName": "get:hasAbsolutePath", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 161841, "endTokenPos": 161901, "line": 4410, "column": 3 } }, "_codes": [ 331 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3AhasEmptyPath", "name": "hasEmptyPath", "_vmName": "get:hasEmptyPath", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 102699, "endTokenPos": 102736, "line": 2804, "column": 3 } }, "_codes": [ 332 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_mergePaths%400150898", "name": "_mergePaths", "_vmName": "_mergePaths@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 93323, "endTokenPos": 94440, "line": 2543, "column": 3 } }, "_codes": [ 333 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/lastIndexOf", "name": "lastIndexOf", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 12692, "endTokenPos": 13500, "line": 374, "column": 3 } }, "_codes": [ 334 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/replaceRange", "name": "replaceRange", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 19758, "endTokenPos": 20761, "line": 602, "column": 3 } }, "_codes": [ 335 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/get%3A_isOneByte%400150898", "name": "_isOneByte", "_vmName": "get:_isOneByte@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 4046, "endTokenPos": 4275, "line": 108, "column": 3 } }, "_codes": [ 336 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_allocate%400150898", "name": "_allocate", "_vmName": "_allocate@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 44982, "endTokenPos": 45180, "line": 1290, "column": 3 } }, "_codes": [ 337 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/allocateOneByteString", "name": "allocateOneByteString", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 1736, "endTokenPos": 1949, "line": 42, "column": 1 } }, "_codes": [ 338 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_setRange%400150898", "name": "_setRange", "_vmName": "_setRange@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 45775, "endTokenPos": 46176, "line": 1310, "column": 3 } }, "_codes": [ 339 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_setAt%400150898", "name": "_setAt", "_vmName": "_setAt@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 45479, "endTokenPos": 45603, "line": 1302, "column": 3 } }, "_codes": [ 340 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/writeIntoOneByteString", "name": "writeIntoOneByteString", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 2024, "endTokenPos": 2206, "line": 48, "column": 1 } }, "_codes": [ 341 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3AhasScheme", "name": "hasScheme", "_vmName": "get:hasScheme", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 102488, "endTokenPos": 102527, "line": 2794, "column": 3 } }, "_codes": [ 342 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3AhasQuery", "name": "hasQuery", "_vmName": "get:hasQuery", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 161294, "endTokenPos": 161343, "line": 4398, "column": 3 } }, "_codes": [ 343 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3A_fragmentStart%400150898", "name": "_fragmentStart", "_vmName": "get:_fragmentStart@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160663, "endTokenPos": 160677, "line": 4376, "column": 13 } }, "_codes": [ 344 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/264/functions/get%3AhasFragment", "name": "hasFragment", "_vmName": "get:hasFragment", "owner": { "type": "@Class", "fixedId": true, "id": "classes/264", "name": "_SimpleUri", "_vmName": "_SimpleUri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 160475, "endTokenPos": 176988, "line": 4369, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 161347, "endTokenPos": 161399, "line": 4399, "column": 3 } }, "_codes": [ 345 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/toString", "name": "toString", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 105828, "endTokenPos": 105854, "line": 2903, "column": 3 } }, "_codes": [ 346 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_text%400150898", "name": "_text", "_vmName": "get:_text@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57802, "endTokenPos": 57832, "line": 1539, "column": 21 } }, "_codes": [ 347 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/field_inits/_text%400150898", "name": "_text", "_vmName": "init:_text@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "FieldInitializer", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57802, "endTokenPos": 57832, "line": 1539, "column": 21 } }, "_codes": [ 348 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_initializeText%400150898", "name": "_initializeText", "_vmName": "_initializeText@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 105859, "endTokenPos": 106428, "line": 2905, "column": 3 } }, "_codes": [ 349 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3AhasAuthority", "name": "hasAuthority", "_vmName": "get:hasAuthority", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 102532, "endTokenPos": 102570, "line": 2796, "column": 3 } }, "_codes": [ 350 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/_writeAuthority%400150898", "name": "_writeAuthority", "_vmName": "_writeAuthority@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 105272, "endTokenPos": 105513, "line": 2883, "column": 3 } }, "_codes": [ 351 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_query%400150898", "name": "_query", "_vmName": "get:_query@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57618, "endTokenPos": 57624, "line": 1533, "column": 17 } }, "_codes": [ 352 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/uri.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/262/functions/get%3A_fragment%400150898", "name": "_fragment", "_vmName": "get:_fragment@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/262", "name": "_Uri", "_vmName": "_Uri@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 56645, "endTokenPos": 120432, "line": 1502, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Furi.dart/0", "uri": "dart:core/uri.dart", "_kind": "kernel" }, "tokenPos": 57703, "endTokenPos": 57712, "line": 1536, "column": 17 } }, "_codes": [ 353 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/builtin.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@15225868/functions/_Init%4015225868", "name": "_Init", "_vmName": "_Init@15225868", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@15225868", "name": "builtin", "uri": "dart:_builtin" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@15225868/scripts/dart%3A_builtin/0", "uri": "dart:_builtin", "_kind": "kernel" }, "tokenPos": 15686, "endTokenPos": 16247, "line": 488, "column": 1 } }, "_codes": [ 354 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_startMainIsolate%401026248", "name": "_startMainIsolate", "_vmName": "_startMainIsolate@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 7556, "endTokenPos": 7716, "line": 260, "column": 1 } }, "_codes": [ 355 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_delayEntrypointInvocation%401026248", "name": "_delayEntrypointInvocation", "_vmName": "_delayEntrypointInvocation@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 8422, "endTokenPos": 8956, "line": 286, "column": 1 } }, "_codes": [ 356 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/708/functions/RawReceivePort.", "name": "RawReceivePort", "_vmName": "RawReceivePort.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/708", "name": "RawReceivePort", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 31956, "endTokenPos": 33724, "line": 729, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 1986, "endTokenPos": 2175, "line": 68, "column": 3 } }, "_codes": [ 357 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_RawReceivePortImpl%401026248.", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3956, "endTokenPos": 4151, "line": 135, "column": 3 } }, "_codes": [ 358 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_RawReceivePortImpl%401026248._%401026248", "name": "_RawReceivePortImpl._", "_vmName": "_RawReceivePortImpl@1026248._@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 4216, "endTokenPos": 4272, "line": 144, "column": 3 } }, "_codes": [ 359 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: _RawReceivePortImpl@1026248", "_kind": "Stub" }, "_codes": [ 360 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/get%3A_portMap%401026248", "name": "_portMap", "_vmName": "get:_portMap@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6489, "endTokenPos": 6529, "line": 218, "column": 16 } }, "_codes": [ 361 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/field_inits/_portMap%401026248", "name": "_portMap", "_vmName": "init:_portMap@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6489, "endTokenPos": 6529, "line": 218, "column": 16 } }, "_codes": [ 362 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _InternalLinkedHashMap", "_kind": "Stub" }, "_codes": [ 363 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/map_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/249/functions/Map._fromLiteral%400150898", "name": "Map._fromLiteral", "_vmName": "Map._fromLiteral@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/249", "name": "Map", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fmap.dart/0", "uri": "dart:core/map.dart", "_kind": "kernel" }, "tokenPos": 1325, "endTokenPos": 18323, "line": 30, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1190", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1191", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fmap_patch.dart/0", "uri": "dart:core-patch/map_patch.dart", "_kind": "kernel" }, "tokenPos": 591, "endTokenPos": 810, "line": 15, "column": 3 } }, "_codes": [ 364 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/83/functions/_InternalLinkedHashMap%403220832.", "name": "_InternalLinkedHashMap", "_vmName": "_InternalLinkedHashMap@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/83", "name": "_InternalLinkedHashMap", "_vmName": "_InternalLinkedHashMap@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1192", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1193", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10470, "endTokenPos": 10658, "line": 286, "column": 3 } }, "_codes": [ 365 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/__InternalLinkedHashMap%26_HashVMBase%26MapMixin%26_HashBase%26_OperatorEqualsAndHashCode%26_LinkedHashMapMixin%403220832.", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1194", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1195", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": -1 } }, "_codes": [ 366 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/396/functions/__InternalLinkedHashMap%26_HashVMBase%26MapMixin%26_HashBase%26_OperatorEqualsAndHashCode%403220832.", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/396", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1196", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1197", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": -1 } }, "_codes": [ 367 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/395/functions/__InternalLinkedHashMap%26_HashVMBase%26MapMixin%26_HashBase%403220832.", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/395", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1198", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1199", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": -1 } }, "_codes": [ 368 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/393/functions/__InternalLinkedHashMap%26_HashVMBase%26MapMixin%403220832.", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/393", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1200", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1201", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": -1 } }, "_codes": [ 369 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/_HashVMBase%403220832.", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": -1 } }, "_codes": [ 370 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@3220832/functions/get%3A_uninitializedIndex%403220832", "name": "_uninitializedIndex", "_vmName": "get:_uninitializedIndex@3220832", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 9825, "endTokenPos": 9898, "line": 271, "column": 7 } }, "_codes": [ 371 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@3220832/field_inits/_uninitializedIndex%403220832", "name": "_uninitializedIndex", "_vmName": "init:_uninitializedIndex@3220832", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 9825, "endTokenPos": 9898, "line": 271, "column": 7 } }, "_codes": [ 372 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/794/functions/Uint32List.", "name": "Uint32List", "_vmName": "Uint32List.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/794", "name": "Uint32List", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data/0", "uri": "dart:typed_data", "_kind": "kernel" }, "tokenPos": 60551, "endTokenPos": 65190, "line": 1447, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 76077, "endTokenPos": 76116, "line": 2538, "column": 3 } }, "_codes": [ 373 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/set%3A_index%403220832", "name": "_index=", "_vmName": "set:_index@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2706, "endTokenPos": 2871, "line": 79, "column": 3 } }, "_codes": [ 374 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/set%3A_hashMask%403220832", "name": "_hashMask=", "_vmName": "set:_hashMask@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3084, "endTokenPos": 3248, "line": 89, "column": 3 } }, "_codes": [ 375 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@3220832/functions/get%3A_uninitializedData%403220832", "name": "_uninitializedData", "_vmName": "get:_uninitializedData@3220832", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10106, "endTokenPos": 10151, "line": 275, "column": 7 } }, "_codes": [ 376 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@3220832/field_inits/_uninitializedData%403220832", "name": "_uninitializedData", "_vmName": "init:_uninitializedData@3220832", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10106, "endTokenPos": 10151, "line": 275, "column": 7 } }, "_codes": [ 377 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/set%3A_data%403220832", "name": "_data=", "_vmName": "set:_data@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3455, "endTokenPos": 3612, "line": 99, "column": 3 } }, "_codes": [ 378 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/set%3A_usedData%403220832", "name": "_usedData=", "_vmName": "set:_usedData@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3825, "endTokenPos": 3989, "line": 109, "column": 3 } }, "_codes": [ 379 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/set%3A_deletedKeys%403220832", "name": "_deletedKeys=", "_vmName": "set:_deletedKeys@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 4208, "endTokenPos": 4378, "line": 119, "column": 3 } }, "_codes": [ 380 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_get_id%401026248", "name": "_get_id", "_vmName": "_get_id@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 4684, "endTokenPos": 4765, "line": 165, "column": 3 } }, "_codes": [ 381 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/%5B%5D%3D", "name": "[]=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1202", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1203", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 17091, "endTokenPos": 17202, "line": 497, "column": 3 } }, "_codes": [ 382 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/396/functions/_hashCode%403220832", "name": "_hashCode", "_vmName": "_hashCode@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/396", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1204", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1205", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 9041, "endTokenPos": 9071, "line": 240, "column": 3 } }, "_codes": [ 383 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/get%3AhashCode", "name": "hashCode", "_vmName": "get:hashCode", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33609, "endTokenPos": 33782, "line": 993, "column": 3 } }, "_codes": [ 384 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_set%403220832", "name": "_set", "_vmName": "_set@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1206", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1207", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 17207, "endTokenPos": 17596, "line": 502, "column": 3 } }, "_codes": [ 385 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/get%3A_index%403220832", "name": "_index", "_vmName": "get:_index@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2484, "endTokenPos": 2702, "line": 74, "column": 3 } }, "_codes": [ 386 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/get%3A_hashMask%403220832", "name": "_hashMask", "_vmName": "get:_hashMask@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2876, "endTokenPos": 3080, "line": 84, "column": 3 } }, "_codes": [ 387 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_hashPattern%403220832", "name": "_hashPattern", "_vmName": "_hashPattern@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 6858, "endTokenPos": 7110, "line": 182, "column": 3 } }, "_codes": [ 388 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_findValueOrInsertPoint%403220832", "name": "_findValueOrInsertPoint", "_vmName": "_findValueOrInsertPoint@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1208", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1209", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 16289, "endTokenPos": 17086, "line": 470, "column": 3 } }, "_codes": [ 389 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_firstProbe%403220832", "name": "_firstProbe", "_vmName": "_firstProbe@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7136, "endTokenPos": 7340, "line": 189, "column": 3 } }, "_codes": [ 390 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/129/functions/%5B%5D", "name": "[]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/129", "name": "_Uint32List", "_vmName": "_Uint32List@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 76278, "endTokenPos": 77489, "line": 2547, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 76574, "endTokenPos": 76790, "line": 2557, "column": 3 } }, "_codes": [ 391 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_insert%403220832", "name": "_insert", "_vmName": "_insert@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1210", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1211", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 15739, "endTokenPos": 16163, "line": 454, "column": 3 } }, "_codes": [ 392 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/get%3A_usedData%403220832", "name": "_usedData", "_vmName": "get:_usedData@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3617, "endTokenPos": 3821, "line": 104, "column": 3 } }, "_codes": [ 393 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/get%3A_data%403220832", "name": "_data", "_vmName": "get:_data@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3253, "endTokenPos": 3451, "line": 94, "column": 3 } }, "_codes": [ 394 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_rehash%403220832", "name": "_rehash", "_vmName": "_rehash@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1212", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1213", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 13751, "endTokenPos": 14149, "line": 392, "column": 3 } }, "_codes": [ 395 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/385/functions/get%3A_deletedKeys%403220832", "name": "_deletedKeys", "_vmName": "get:_deletedKeys@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/385", "name": "_HashVMBase", "_vmName": "_HashVMBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 2424, "endTokenPos": 4380, "line": 73, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 3994, "endTokenPos": 4204, "line": 114, "column": 3 } }, "_codes": [ 396 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_init%403220832", "name": "_init", "_vmName": "_init@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1214", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1215", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 14446, "endTokenPos": 15182, "line": 414, "column": 3 } }, "_codes": [ 397 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_indexSizeToHashMask%403220832", "name": "_indexSizeToHashMask", "_vmName": "_indexSizeToHashMask@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 6456, "endTokenPos": 6853, "line": 170, "column": 3 } }, "_codes": [ 398 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/58/functions/get%3AbitLength", "name": "bitLength", "_vmName": "get:bitLength", "owner": { "type": "@Class", "fixedId": true, "id": "classes/58", "name": "_Smi", "_vmName": "_Smi@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 16889, "endTokenPos": 25437, "line": 554, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 17308, "endTokenPos": 17477, "line": 567, "column": 3 } }, "_codes": [ 399 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/get%3Ahas63BitSmis", "name": "has63BitSmis", "_vmName": "get:has63BitSmis", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 4260, "endTokenPos": 4352, "line": 104, "column": 1 } }, "_codes": [ 400 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/typed_data_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/129/functions/%5B%5D%3D", "name": "[]=", "owner": { "type": "@Class", "fixedId": true, "id": "classes/129", "name": "_Uint32List", "_vmName": "_Uint32List@7027147", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 76278, "endTokenPos": 77489, "line": 2547, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@7027147", "name": "dart.typed_data", "uri": "dart:typed_data" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@7027147/scripts/dart%3Atyped_data-patch%2Ftyped_data_patch.dart/0", "uri": "dart:typed_data-patch/typed_data_patch.dart", "_kind": "kernel" }, "tokenPos": 76795, "endTokenPos": 77035, "line": 2565, "column": 3 } }, "_codes": [ 401 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: Map<String, dynamic>", "_kind": "Stub" }, "_codes": [ 402 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/58/functions/get%3AhashCode", "name": "hashCode", "_vmName": "get:hashCode", "owner": { "type": "@Class", "fixedId": true, "id": "classes/58", "name": "_Smi", "_vmName": "_Smi@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 16889, "endTokenPos": 25437, "line": 554, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 17026, "endTokenPos": 17050, "line": 560, "column": 3 } }, "_codes": [ 403 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/set%3Ahandler", "name": "handler=", "_vmName": "set:handler", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6246, "endTokenPos": 6471, "line": 208, "column": 3 } }, "_codes": [ 404 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/containsKey", "name": "containsKey", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1216", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1217", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 20029, "endTokenPos": 20101, "line": 591, "column": 3 } }, "_codes": [ 405 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/_getValueOrData%403220832", "name": "_getValueOrData", "_vmName": "_getValueOrData@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1218", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1219", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 19271, "endTokenPos": 20024, "line": 567, "column": 3 } }, "_codes": [ 406 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/396/functions/_equals%403220832", "name": "_equals", "_vmName": "_equals@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/396", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1220", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1221", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 9075, "endTokenPos": 9107, "line": 241, "column": 3 } }, "_codes": [ 407 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/%5B%5D", "name": "[]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1222", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1223", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 20106, "endTokenPos": 20239, "line": 593, "column": 3 } }, "_codes": [ 408 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/get%3AsendPort", "name": "sendPort", "_vmName": "get:sendPort", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 4396, "endTokenPos": 4450, "line": 151, "column": 3 } }, "_codes": [ 409 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_get_sendport%401026248", "name": "_get_sendport", "_vmName": "_get_sendport@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 4769, "endTokenPos": 4867, "line": 167, "column": 3 } }, "_codes": [ 410 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: SendPort", "_kind": "Stub" }, "_codes": [ 411 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/73/functions/send", "name": "send", "owner": { "type": "@Class", "fixedId": true, "id": "classes/73", "name": "_SendPortImpl", "_vmName": "_SendPortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6534, "endTokenPos": 7337, "line": 221, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6709, "endTokenPos": 6800, "line": 228, "column": 3 } }, "_codes": [ 412 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/73/functions/_sendInternal%401026248", "name": "_sendInternal", "_vmName": "_sendInternal@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/73", "name": "_SendPortImpl", "_vmName": "_SendPortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 6534, "endTokenPos": 7337, "line": 221, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 7235, "endTokenPos": 7335, "line": 248, "column": 3 } }, "_codes": [ 413 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_handleMessage%401026248", "name": "_handleMessage", "_vmName": "_handleMessage@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 5273, "endTokenPos": 5736, "line": 183, "column": 3 } }, "_codes": [ 414 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/function.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/55/dispatchers/2", "name": "call", "_vmName": "dyn:call", "owner": { "type": "@Class", "fixedId": true, "id": "classes/55", "name": "_Closure", "_vmName": "_Closure@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ffunction.dart/0", "uri": "dart:core-patch/function.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 1912, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "InvokeFieldDispatcher", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ffunction.dart/0", "uri": "dart:core-patch/function.dart", "_kind": "kernel" }, "tokenPos": 0, "endTokenPos": 0, "line": 1, "column": 1 } }, "_codes": [ 415 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/closures/8", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_delayEntrypointInvocation%401026248", "name": "_delayEntrypointInvocation", "_vmName": "_delayEntrypointInvocation@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 8422, "endTokenPos": 8956, "line": 286, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 8596, "endTokenPos": 8926, "line": 289, "column": 18 } }, "_codes": [ 416 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/close", "name": "close", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 4277, "endTokenPos": 4391, "line": 146, "column": 3 } }, "_codes": [ 417 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/72/functions/_closeInternal%401026248", "name": "_closeInternal", "_vmName": "_closeInternal@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/72", "name": "_RawReceivePortImpl", "_vmName": "_RawReceivePortImpl@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3874, "endTokenPos": 6531, "line": 133, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 5800, "endTokenPos": 5895, "line": 198, "column": 3 } }, "_codes": [ 418 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/remove", "name": "remove", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1224", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1225", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 18262, "endTokenPos": 19204, "line": 537, "column": 3 } }, "_codes": [ 419 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_setDeletedAt%403220832", "name": "_setDeletedAt", "_vmName": "_setDeletedAt@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7565, "endTokenPos": 7633, "line": 200, "column": 3 } }, "_codes": [ 420 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/43/functions/_instanceOf%400150898", "name": "_instanceOf", "_vmName": "_instanceOf@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/43", "name": "Object", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 835, "endTokenPos": 19160, "line": 17, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fobject_patch.dart/0", "uri": "dart:core-patch/object_patch.dart", "_kind": "kernel" }, "tokenPos": 1878, "endTokenPos": 2053, "line": 55, "column": 3 } }, "_codes": [ 421 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/function.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/55/dispatchers/5", "name": "call", "_vmName": "dyn:call", "owner": { "type": "@Class", "fixedId": true, "id": "classes/55", "name": "_Closure", "_vmName": "_Closure@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ffunction.dart/0", "uri": "dart:core-patch/function.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 1912, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "InvokeFieldDispatcher", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ffunction.dart/0", "uri": "dart:core-patch/function.dart", "_kind": "kernel" }, "tokenPos": 0, "endTokenPos": 0, "line": 1, "column": 1 } }, "_codes": [ 422 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/implicit_closures/1", "name": "main", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/functions/main", "name": "main", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@18506296", "name": "", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 163, "endTokenPos": 269, "line": 13, "column": 1 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 163, "endTokenPos": 269, "line": 13, "column": 1 } }, "_codes": [ 423 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/functions/main", "name": "main", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@18506296", "name": "", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 163, "endTokenPos": 269, "line": 13, "column": 1 } }, "_codes": [ 424 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_http/http.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1087/functions/set%3AenableTimelineLogging", "name": "enableTimelineLogging=", "_vmName": "set:enableTimelineLogging", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1087", "name": "HttpClient", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@16463476/scripts/dart%3A_http/0", "uri": "dart:_http", "_kind": "kernel" }, "tokenPos": 43357, "endTokenPos": 61225, "line": 1143, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@16463476", "name": "dart._http", "uri": "dart:_http" } }, "_kind": "SetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@16463476/scripts/dart%3A_http/0", "uri": "dart:_http", "_kind": "kernel" }, "tokenPos": 43599, "endTokenPos": 43963, "line": 1152, "column": 3 } }, "_codes": [ 425 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/internal/internal.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/valueOfNonNullableParamWithDefault", "name": "valueOfNonNullableParamWithDefault", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3A_internal/0", "uri": "dart:_internal", "_kind": "kernel" }, "tokenPos": 22647, "endTokenPos": 22819, "line": 782, "column": 1 } }, "_codes": [ 426 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/get%3Acurrent", "name": "current", "_vmName": "get:current", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 9088, "endTokenPos": 9142, "line": 311, "column": 3 } }, "_codes": [ 427 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/get%3A_currentIsolate%401026248", "name": "_currentIsolate", "_vmName": "get:_currentIsolate@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 8997, "endTokenPos": 9035, "line": 308, "column": 16 } }, "_codes": [ 428 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/field_inits/_currentIsolate%401026248", "name": "_currentIsolate", "_vmName": "init:_currentIsolate@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 8997, "endTokenPos": 9035, "line": 308, "column": 16 } }, "_codes": [ 429 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate Isolate", "_kind": "Stub" }, "_codes": [ 430 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/_getCurrentIsolate%401026248", "name": "_getCurrentIsolate", "_vmName": "_getCurrentIsolate@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 19071, "endTokenPos": 19335, "line": 632, "column": 3 } }, "_codes": [ 431 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/_getPortAndCapabilitiesOfCurrentIsolate%401026248", "name": "_getPortAndCapabilitiesOfCurrentIsolate", "_vmName": "_getPortAndCapabilitiesOfCurrentIsolate@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 19340, "endTokenPos": 19482, "line": 639, "column": 3 } }, "_codes": [ 432 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: List", "_kind": "Stub" }, "_codes": [ 433 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: Capability?", "_kind": "Stub" }, "_codes": [ 434 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/isolate/isolate.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/Isolate.", "name": "Isolate", "_vmName": "Isolate.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 6148, "endTokenPos": 6223, "line": 151, "column": 3 } }, "_codes": [ 435 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/service.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/589/functions/getIsolateID", "name": "getIsolateID", "owner": { "type": "@Class", "fixedId": true, "id": "classes/589", "name": "Service", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fservice.dart/0", "uri": "dart:developer/service.dart", "_kind": "kernel" }, "tokenPos": 2226, "endTokenPos": 4633, "line": 59, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fservice.dart/0", "uri": "dart:developer/service.dart", "_kind": "kernel" }, "tokenPos": 4408, "endTokenPos": 4631, "line": 105, "column": 3 } }, "_codes": [ 436 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/errors.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/227/functions/checkNotNull", "name": "checkNotNull", "owner": { "type": "@Class", "fixedId": true, "id": "classes/227", "name": "ArgumentError", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Ferrors.dart/0", "uri": "dart:core/errors.dart", "_kind": "kernel" }, "tokenPos": 6083, "endTokenPos": 8948, "line": 156, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Ferrors.dart/0", "uri": "dart:core/errors.dart", "_kind": "kernel" }, "tokenPos": 8070, "endTokenPos": 8240, "line": 213, "column": 3 } }, "_codes": [ 437 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/isolate/isolate.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/714/functions/get%3AcontrolPort", "name": "controlPort", "_vmName": "get:controlPort", "owner": { "type": "@Class", "fixedId": true, "id": "classes/714", "name": "Isolate", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3022, "endTokenPos": 26477, "line": 77, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate/0", "uri": "dart:isolate", "_kind": "kernel" }, "tokenPos": 3695, "endTokenPos": 3706, "line": 94, "column": 18 } }, "_codes": [ 438 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_getIsolateIDFromSendPort%405383715", "name": "_getIsolateIDFromSendPort", "_vmName": "_getIsolateIDFromSendPort@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 5586, "endTokenPos": 5719, "line": 174, "column": 1 } }, "_codes": [ 439 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_nextProbe%403220832", "name": "_nextProbe", "_vmName": "_nextProbe@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7345, "endTokenPos": 7409, "line": 195, "column": 3 } }, "_codes": [ 440 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/postEvent", "name": "postEvent", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 5805, "endTokenPos": 6159, "line": 149, "column": 1 } }, "_codes": [ 441 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/get%3AextensionStreamHasListener", "name": "extensionStreamHasListener", "_vmName": "get:extensionStreamHasListener", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 5524, "endTokenPos": 5630, "line": 141, "column": 1 } }, "_codes": [ 442 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate JsonEncoder", "_kind": "Stub" }, "_codes": [ 443 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/543/functions/encode", "name": "encode", "owner": { "type": "@Class", "fixedId": true, "id": "classes/543", "name": "JsonCodec", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 5902, "endTokenPos": 9573, "line": 165, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 9102, "endTokenPos": 9321, "line": 229, "column": 3 } }, "_codes": [ 444 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/543/functions/get%3A_toEncodable%4010003594", "name": "_toEncodable", "_vmName": "get:_toEncodable@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/543", "name": "JsonCodec", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 5902, "endTokenPos": 9573, "line": 165, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 6050, "endTokenPos": 6062, "line": 167, "column": 36 } }, "_codes": [ 445 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/543/functions/get%3Aencoder", "name": "encoder", "_vmName": "get:encoder", "owner": { "type": "@Class", "fixedId": true, "id": "classes/543", "name": "JsonCodec", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 5902, "endTokenPos": 9573, "line": 165, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 9326, "endTokenPos": 9450, "line": 235, "column": 3 } }, "_codes": [ 446 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/544/functions/convert", "name": "convert", "owner": { "type": "@Class", "fixedId": true, "id": "classes/544", "name": "JsonEncoder", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 10191, "endTokenPos": 14684, "line": 271, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 13346, "endTokenPos": 13448, "line": 344, "column": 3 } }, "_codes": [ 447 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/544/functions/get%3A_toEncodable%4010003594", "name": "_toEncodable", "_vmName": "get:_toEncodable@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/544", "name": "JsonEncoder", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 10191, "endTokenPos": 14684, "line": 271, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 10697, "endTokenPos": 10709, "line": 282, "column": 36 } }, "_codes": [ 448 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/544/functions/get%3Aindent", "name": "indent", "_vmName": "get:indent", "owner": { "type": "@Class", "fixedId": true, "id": "classes/544", "name": "JsonEncoder", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 10191, "endTokenPos": 14684, "line": 271, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 10514, "endTokenPos": 10520, "line": 278, "column": 17 } }, "_codes": [ 449 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/stringify", "name": "stringify", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33875, "endTokenPos": 34093, "line": 965, "column": 3 } }, "_codes": [ 450 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _JsonStringStringifier", "_kind": "Stub" }, "_codes": [ 451 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _JsonStringStringifierPretty", "_kind": "Stub" }, "_codes": [ 452 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/printOn", "name": "printOn", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 34233, "endTokenPos": 34607, "line": 975, "column": 3 } }, "_codes": [ 453 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/_JsonStringStringifier%4010003594.", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33310, "endTokenPos": 33427, "line": 952, "column": 3 } }, "_codes": [ 454 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/_JsonStringifier%4010003594.", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 24579, "endTokenPos": 24686, "line": 662, "column": 3 } }, "_codes": [ 455 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate JsonUnsupportedObjectError", "_kind": "Stub" }, "_codes": [ 456 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/writeObject", "name": "writeObject", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 28516, "endTokenPos": 29122, "line": 781, "column": 3 } }, "_codes": [ 457 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/writeJsonValue", "name": "writeJsonValue", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 29356, "endTokenPos": 30274, "line": 803, "column": 3 } }, "_codes": [ 458 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/43/functions/_simpleInstanceOfFalse%400150898", "name": "_simpleInstanceOfFalse", "_vmName": "_simpleInstanceOfFalse@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/43", "name": "Object", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fobject.dart/0", "uri": "dart:core/object.dart", "_kind": "kernel" }, "tokenPos": 835, "endTokenPos": 19160, "line": 17, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fobject_patch.dart/0", "uri": "dart:core-patch/object_patch.dart", "_kind": "kernel" }, "tokenPos": 2338, "endTokenPos": 2416, "line": 66, "column": 3 } }, "_codes": [ 459 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate JsonCyclicError", "_kind": "Stub" }, "_codes": [ 460 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/_checkCycle%4010003594", "name": "_checkCycle", "_vmName": "_checkCycle@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 27844, "endTokenPos": 28043, "line": 758, "column": 3 } }, "_codes": [ 461 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/get%3A_seen%4010003594", "name": "_seen", "_vmName": "get:_seen@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 24459, "endTokenPos": 24469, "line": 657, "column": 14 } }, "_codes": [ 462 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/writeMap", "name": "writeMap", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 30589, "endTokenPos": 31346, "line": 852, "column": 3 } }, "_codes": [ 463 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/get%3AisEmpty", "name": "isEmpty", "_vmName": "get:isEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1226", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1227", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 13680, "endTokenPos": 13711, "line": 389, "column": 3 } }, "_codes": [ 464 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/get%3Alength", "name": "length", "_vmName": "get:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1228", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1229", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 13627, "endTokenPos": 13676, "line": 388, "column": 3 } }, "_codes": [ 465 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/397/functions/forEach", "name": "forEach", "owner": { "type": "@Class", "fixedId": true, "id": "classes/397", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase&_OperatorEqualsAndHashCode&_LinkedHashMapMixin@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1230", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1231", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 20470, "endTokenPos": 20994, "line": 608, "column": 3 } }, "_codes": [ 466 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/395/functions/get%3A_checkSum%403220832", "name": "_checkSum", "_vmName": "get:_checkSum@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/395", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1232", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1233", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7763, "endTokenPos": 7808, "line": 206, "column": 3 } }, "_codes": [ 467 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/387/functions/_isDeleted%403220832", "name": "_isDeleted", "_vmName": "_isDeleted@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/387", "name": "_HashBase", "_vmName": "_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 5413, "endTokenPos": 8888, "line": 150, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7471, "endTokenPos": 7561, "line": 198, "column": 3 } }, "_codes": [ 468 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/closures/10", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/writeMap", "name": "writeMap", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 30589, "endTokenPos": 31346, "line": 852, "column": 3 } }, "_kind": "ClosureFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 30833, "endTokenPos": 30984, "line": 860, "column": 17 } }, "_codes": [ 469 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/compact_hash.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/395/functions/_isModifiedSince%403220832", "name": "_isModifiedSince", "_vmName": "_isModifiedSince@3220832", "owner": { "type": "@Class", "fixedId": true, "id": "classes/395", "name": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase", "_vmName": "__InternalLinkedHashMap&_HashVMBase&MapMixin&_HashBase@3220832", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 10228, "endTokenPos": 11046, "line": 278, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@3220832", "name": "dart.collection", "uri": "dart:collection" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1234", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1235", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@3220832/scripts/dart%3Acollection-patch%2Fcompact_hash.dart/0", "uri": "dart:collection-patch/compact_hash.dart", "_kind": "kernel" }, "tokenPos": 7812, "endTokenPos": 7930, "line": 207, "column": 3 } }, "_codes": [ 470 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/writeString", "name": "writeString", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 34768, "endTokenPos": 34829, "line": 992, "column": 3 } }, "_codes": [ 471 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/get%3A_sink%4010003594", "name": "_sink", "_vmName": "get:_sink@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33300, "endTokenPos": 33305, "line": 950, "column": 20 } }, "_codes": [ 472 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/writeStringContent", "name": "writeStringContent", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 25279, "endTokenPos": 27620, "line": 683, "column": 3 } }, "_codes": [ 473 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/549/functions/_removeSeen%4010003594", "name": "_removeSeen", "_vmName": "_removeSeen@10003594", "owner": { "type": "@Class", "fixedId": true, "id": "classes/549", "name": "_JsonStringifier", "_vmName": "_JsonStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 23613, "endTokenPos": 31348, "line": 634, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 28210, "endTokenPos": 28344, "line": 771, "column": 3 } }, "_codes": [ 474 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/removeLast", "name": "removeLast", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1236", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 10245, "endTokenPos": 10386, "line": 333, "column": 3 } }, "_codes": [ 475 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/set%3Alength", "name": "length=", "_vmName": "set:length", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1237", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 7059, "endTokenPos": 7922, "line": 226, "column": 3 } }, "_codes": [ 476 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/growable_array.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/89/functions/_shrink%400150898", "name": "_shrink", "_vmName": "_shrink@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/89", "name": "_GrowableList", "_vmName": "_GrowableList@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 19288, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1238", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fgrowable_array.dart/0", "uri": "dart:core-patch/growable_array.dart", "_kind": "kernel" }, "tokenPos": 12206, "endTokenPos": 12520, "line": 399, "column": 3 } }, "_codes": [ 477 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_postEvent%405383715", "name": "_postEvent", "_vmName": "_postEvent@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 1821, "endTokenPos": 1939, "line": 59, "column": 1 } }, "_codes": [ 478 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate Duration", "_kind": "Stub" }, "_codes": [ 479 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/functions/foo", "name": "foo", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@18506296", "name": "", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 45, "endTokenPos": 160, "line": 5, "column": 1 } }, "_codes": [ 480 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _Future", "_kind": "Stub" }, "_codes": [ 481 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/_initAsync%404048458", "name": "_initAsync", "_vmName": "_initAsync@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5587, "endTokenPos": 5709, "line": 185, "column": 3 } }, "_codes": [ 482 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_Future%404048458.", "name": "_Future", "_vmName": "_Future@4048458.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1239", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 9530, "endTokenPos": 9563, "line": 267, "column": 3 } }, "_codes": [ 483 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/357/functions/get%3A_current%404048458", "name": "_current", "_vmName": "get:_current@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/357", "name": "Zone", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 25840, "endTokenPos": 39962, "line": 566, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 26699, "endTokenPos": 26719, "line": 585, "column": 16 } }, "_codes": [ 484 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/357/field_inits/_current%404048458", "name": "_current", "_vmName": "init:_current@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/357", "name": "Zone", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 25840, "endTokenPos": 39962, "line": 566, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 26699, "endTokenPos": 26719, "line": 585, "column": 16 } }, "_codes": [ 485 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/duration.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/223/functions/Duration.", "name": "Duration", "_vmName": "Duration.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/223", "name": "Duration", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 3597, "endTokenPos": 14567, "line": 86, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 6843, "endTokenPos": 7274, "line": 173, "column": 3 } }, "_codes": [ 486 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/duration.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/223/functions/Duration._microseconds%400150898", "name": "Duration._microseconds", "_vmName": "Duration._microseconds@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/223", "name": "Duration", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 3597, "endTokenPos": 14567, "line": 86, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "Constructor", "static": false, "const": true, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 7395, "endTokenPos": 7439, "line": 189, "column": 3 } }, "_codes": [ 487 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 34, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/285/functions/Future.delayed", "name": "Future.delayed", "owner": { "type": "@Class", "fixedId": true, "id": "classes/285", "name": "Future", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 9668, "endTokenPos": 35708, "line": 224, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1240", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 16384, "endTokenPos": 16960, "line": 413, "column": 3 } }, "_codes": [ 488 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@9040228/functions/typeAcceptsNull", "name": "typeAcceptsNull", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 1052, "endTokenPos": 1130, "line": 24, "column": 1 } }, "_codes": [ 489 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/timer.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/352/functions/Timer.", "name": "Timer", "_vmName": "Timer.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/352", "name": "Timer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ftimer.dart/0", "uri": "dart:async/timer.dart", "_kind": "kernel" }, "tokenPos": 1345, "endTokenPos": 5969, "line": 36, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ftimer.dart/0", "uri": "dart:async/timer.dart", "_kind": "kernel" }, "tokenPos": 1665, "endTokenPos": 2042, "line": 47, "column": 3 } }, "_codes": [ 490 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/357/functions/get%3Acurrent", "name": "current", "_vmName": "get:current", "owner": { "type": "@Class", "fixedId": true, "id": "classes/357", "name": "Zone", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 25840, "endTokenPos": 39962, "line": 566, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 26765, "endTokenPos": 26800, "line": 588, "column": 3 } }, "_codes": [ 491 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/361/functions/createTimer", "name": "createTimer", "owner": { "type": "@Class", "fixedId": true, "id": "classes/361", "name": "_RootZone", "_vmName": "_RootZone@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 61055, "endTokenPos": 66769, "line": 1511, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 66486, "endTokenPos": 66581, "line": 1676, "column": 3 } }, "_codes": [ 492 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate UnsupportedError", "_kind": "Stub" }, "_codes": [ 493 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/352/functions/_createTimer%404048458", "name": "_createTimer", "_vmName": "_createTimer@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/352", "name": "Timer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ftimer.dart/0", "uri": "dart:async/timer.dart", "_kind": "kernel" }, "tokenPos": 1345, "endTokenPos": 5969, "line": 36, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Ftimer_patch.dart/0", "uri": "dart:async-patch/timer_patch.dart", "_kind": "kernel" }, "tokenPos": 272, "endTokenPos": 661, "line": 9, "column": 3 } }, "_codes": [ 494 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/duration.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/223/functions/get%3AinMilliseconds", "name": "inMilliseconds", "_vmName": "get:inMilliseconds", "owner": { "type": "@Class", "fixedId": true, "id": "classes/223", "name": "Duration", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 3597, "endTokenPos": 14567, "line": 86, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 11069, "endTokenPos": 11143, "line": 287, "column": 3 } }, "_codes": [ 495 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/core/duration.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/223/functions/get%3A_duration%400150898", "name": "_duration", "_vmName": "get:_duration@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/223", "name": "Duration", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 3597, "endTokenPos": 14567, "line": 86, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fduration.dart/0", "uri": "dart:core/duration.dart", "_kind": "kernel" }, "tokenPos": 5914, "endTokenPos": 5923, "line": 149, "column": 13 } }, "_codes": [ 496 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/~%2F", "name": "~/", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": true, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 963, "endTokenPos": 1298, "line": 24, "column": 3 } }, "_codes": [ 497 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/implicit_closures/42", "name": "_factory", "_vmName": "_factory@1026248", "owner": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_factory%401026248", "name": "_factory", "_vmName": "_factory@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 15217, "endTokenPos": 15444, "line": 476, "column": 3 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 15217, "endTokenPos": 15444, "line": 476, "column": 3 } }, "_codes": [ 498 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_factory%401026248", "name": "_factory", "_vmName": "_factory@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 15217, "endTokenPos": 15444, "line": 476, "column": 3 } }, "_codes": [ 499 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_Timer%401026248.", "name": "_Timer", "_vmName": "_Timer@1026248.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 6193, "endTokenPos": 6314, "line": 201, "column": 3 } }, "_codes": [ 500 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _Timer", "_kind": "Stub" }, "_codes": [ 501 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_createTimer%401026248", "name": "_createTimer", "_vmName": "_createTimer@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 5342, "endTokenPos": 6188, "line": 180, "column": 3 } }, "_codes": [ 502 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/635/functions/get%3AtimerMillisecondClock", "name": "timerMillisecondClock", "_vmName": "get:timerMillisecondClock", "owner": { "type": "@Class", "fixedId": true, "id": "classes/635", "name": "VMLibraryHooks", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 3270, "endTokenPos": 4257, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 3701, "endTokenPos": 3722, "line": 84, "column": 30 } }, "_codes": [ 503 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/eventhandler_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1002/implicit_closures/1", "name": "_timerMillisecondClock", "_vmName": "_timerMillisecondClock@14069316", "owner": { "type": "@Function", "fixedId": true, "id": "classes/1002/functions/_timerMillisecondClock%4014069316", "name": "_timerMillisecondClock", "_vmName": "_timerMillisecondClock@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1002", "name": "_EventHandler", "_vmName": "_EventHandler@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Feventhandler.dart/0", "uri": "dart:io/eventhandler.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 336, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 425, "endTokenPos": 537, "line": 13, "column": 3 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 425, "endTokenPos": 537, "line": 13, "column": 3 } }, "_codes": [ 504 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/eventhandler_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1002/functions/_timerMillisecondClock%4014069316", "name": "_timerMillisecondClock", "_vmName": "_timerMillisecondClock@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1002", "name": "_EventHandler", "_vmName": "_EventHandler@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Feventhandler.dart/0", "uri": "dart:io/eventhandler.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 336, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 425, "endTokenPos": 537, "line": 13, "column": 3 } }, "_codes": [ 505 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_Timer%401026248._internal%401026248", "name": "_Timer._internal", "_vmName": "_Timer@1026248._internal@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 5219, "endTokenPos": 5337, "line": 176, "column": 3 } }, "_codes": [ 506 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_nextId%401026248", "name": "_nextId", "_vmName": "_nextId@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4926, "endTokenPos": 5039, "line": 162, "column": 3 } }, "_codes": [ 507 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_enqueue%401026248", "name": "_enqueue", "_vmName": "_enqueue@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 7683, "endTokenPos": 8119, "line": 249, "column": 3 } }, "_codes": [ 508 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_milliSeconds%401026248", "name": "_milliSeconds", "_vmName": "get:_milliSeconds@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4478, "endTokenPos": 4491, "line": 153, "column": 13 } }, "_codes": [ 509 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_heap%401026248", "name": "_heap", "_vmName": "get:_heap@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3802, "endTokenPos": 3826, "line": 134, "column": 16 } }, "_codes": [ 510 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _TimerHeap", "_kind": "Stub" }, "_codes": [ 511 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/field_inits/_heap%401026248", "name": "_heap", "_vmName": "init:_heap@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3802, "endTokenPos": 3826, "line": 134, "column": 16 } }, "_codes": [ 512 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/_TimerHeap%401026248.", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 636, "endTokenPos": 735, "line": 19, "column": 3 } }, "_codes": [ 513 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_sentinelTimer%401026248", "name": "_sentinelTimer", "_vmName": "get:_sentinelTimer@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3441, "endTokenPos": 3476, "line": 126, "column": 16 } }, "_codes": [ 514 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/field_inits/_sentinelTimer%401026248", "name": "_sentinelTimer", "_vmName": "init:_sentinelTimer@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3441, "endTokenPos": 3476, "line": 126, "column": 16 } }, "_codes": [ 515 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_Timer%401026248._sentinel%401026248", "name": "_Timer._sentinel", "_vmName": "_Timer@1026248._sentinel@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 5044, "endTokenPos": 5214, "line": 168, "column": 3 } }, "_codes": [ 516 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: _Timer@1026248", "_kind": "Stub" }, "_codes": [ 517 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/add", "name": "add", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 866, "endTokenPos": 1054, "line": 28, "column": 3 } }, "_codes": [ 518 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/get%3A_used%401026248", "name": "_used", "_vmName": "get:_used@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 622, "endTokenPos": 631, "line": 17, "column": 7 } }, "_codes": [ 519 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/get%3A_list%401026248", "name": "_list", "_vmName": "get:_list@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 609, "endTokenPos": 614, "line": 16, "column": 16 } }, "_codes": [ 520 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/set%3A_used%401026248", "name": "_used=", "_vmName": "set:_used@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 622, "endTokenPos": 631, "line": 17, "column": 7 } }, "_codes": [ 521 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/set%3A_indexOrNext%401026248", "name": "_indexOrNext=", "_vmName": "set:_indexOrNext@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4593, "endTokenPos": 4605, "line": 155, "column": 11 } }, "_codes": [ 522 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/_bubbleUp%401026248", "name": "_bubbleUp", "_vmName": "_bubbleUp@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 1836, "endTokenPos": 2053, "line": 73, "column": 3 } }, "_codes": [ 523 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/isFirst", "name": "isFirst", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 808, "endTokenPos": 861, "line": 26, "column": 3 } }, "_codes": [ 524 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_indexOrNext%401026248", "name": "_indexOrNext", "_vmName": "get:_indexOrNext@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4593, "endTokenPos": 4605, "line": 155, "column": 11 } }, "_codes": [ 525 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_notifyEventHandler%401026248", "name": "_notifyEventHandler", "_vmName": "_notifyEventHandler@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 9242, "endTokenPos": 10263, "line": 299, "column": 3 } }, "_codes": [ 526 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/get%3AisEmpty", "name": "isEmpty", "_vmName": "get:isEmpty", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 740, "endTokenPos": 770, "line": 22, "column": 3 } }, "_codes": [ 527 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/get%3Afirst", "name": "first", "_vmName": "get:first", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 775, "endTokenPos": 803, "line": 24, "column": 3 } }, "_codes": [ 528 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_wakeupTime%401026248", "name": "_wakeupTime", "_vmName": "get:_wakeupTime@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4433, "endTokenPos": 4444, "line": 152, "column": 7 } }, "_codes": [ 529 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_scheduleWakeup%401026248", "name": "_scheduleWakeup", "_vmName": "_scheduleWakeup@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 14047, "endTokenPos": 14271, "line": 436, "column": 3 } }, "_codes": [ 530 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_createTimerHandler%401026248", "name": "_createTimerHandler", "_vmName": "_createTimerHandler@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 14587, "endTokenPos": 14989, "line": 454, "column": 3 } }, "_codes": [ 531 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/internal_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/635/functions/get%3AeventHandlerSendData", "name": "eventHandlerSendData", "_vmName": "get:eventHandlerSendData", "owner": { "type": "@Class", "fixedId": true, "id": "classes/635", "name": "VMLibraryHooks", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 3270, "endTokenPos": 4257, "line": 75, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@9040228", "name": "dart._internal", "uri": "dart:_internal" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@9040228/scripts/dart%3A_internal-patch%2Finternal_patch.dart/0", "uri": "dart:_internal-patch/internal_patch.dart", "_kind": "kernel" }, "tokenPos": 3511, "endTokenPos": 3531, "line": 80, "column": 53 } }, "_codes": [ 532 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/eventhandler_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1002/implicit_closures/2", "name": "_sendData", "_vmName": "_sendData@14069316", "owner": { "type": "@Function", "fixedId": true, "id": "classes/1002/functions/_sendData%4014069316", "name": "_sendData", "_vmName": "_sendData@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1002", "name": "_EventHandler", "_vmName": "_EventHandler@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Feventhandler.dart/0", "uri": "dart:io/eventhandler.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 336, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 281, "endTokenPos": 420, "line": 9, "column": 3 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 281, "endTokenPos": 420, "line": 9, "column": 3 } }, "_codes": [ 533 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/eventhandler_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1002/functions/_sendData%4014069316", "name": "_sendData", "_vmName": "_sendData@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1002", "name": "_EventHandler", "_vmName": "_EventHandler@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Feventhandler.dart/0", "uri": "dart:io/eventhandler.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 336, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Feventhandler_patch.dart/0", "uri": "dart:io-patch/eventhandler_patch.dart", "_kind": "kernel" }, "tokenPos": 281, "endTokenPos": 420, "line": 9, "column": 3 } }, "_codes": [ 534 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/_await%404048458", "name": "_await", "_vmName": "_await@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 8841, "endTokenPos": 9463, "line": 290, "column": 3 } }, "_codes": [ 535 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/get%3A_thenCallback%404048458", "name": "_thenCallback", "_vmName": "get:_thenCallback@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 12998, "endTokenPos": 13114, "line": 431, "column": 3 } }, "_codes": [ 536 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/_createAsyncCallbacks%404048458", "name": "_createAsyncCallbacks", "_vmName": "_createAsyncCallbacks@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5714, "endTokenPos": 6706, "line": 191, "column": 3 } }, "_codes": [ 537 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/set%3A_thenCallback%404048458", "name": "_thenCallback=", "_vmName": "set:_thenCallback@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 12870, "endTokenPos": 12993, "line": 427, "column": 3 } }, "_codes": [ 538 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/set%3A_errorCallback%404048458", "name": "_errorCallback=", "_vmName": "set:_errorCallback@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "SetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 13119, "endTokenPos": 13257, "line": 435, "column": 3 } }, "_codes": [ 539 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_isComplete%404048458", "name": "_isComplete", "_vmName": "get:_isComplete@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1241", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 10369, "endTokenPos": 10436, "line": 291, "column": 3 } }, "_codes": [ 540 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_state%404048458", "name": "_state", "_vmName": "get:_state@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1242", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 8473, "endTokenPos": 8498, "line": 241, "column": 7 } }, "_codes": [ 541 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/get%3A_errorCallback%404048458", "name": "_errorCallback", "_vmName": "get:_errorCallback@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 13262, "endTokenPos": 13393, "line": 439, "column": 3 } }, "_codes": [ 542 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _FutureListener", "_kind": "Stub" }, "_codes": [ 543 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 34, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_thenAwait%404048458", "name": "_thenAwait", "_vmName": "_thenAwait@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1243", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 11928, "endTokenPos": 12134, "line": 331, "column": 3 } }, "_codes": [ 544 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/_FutureListener%404048458.thenAwait", "name": "_FutureListener.thenAwait", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1244", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1245", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3464, "endTokenPos": 3666, "line": 99, "column": 3 } }, "_codes": [ 545 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_addListener%404048458", "name": "_addListener", "_vmName": "_addListener@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1246", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 14300, "endTokenPos": 15049, "line": 410, "column": 3 } }, "_codes": [ 546 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_mayAddListener%404048458", "name": "_mayAddListener", "_vmName": "get:_mayAddListener@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1247", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 10222, "endTokenPos": 10309, "line": 288, "column": 3 } }, "_codes": [ 547 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_resultOrListeners%404048458", "name": "_resultOrListeners", "_vmName": "get:_resultOrListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1248", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 9461, "endTokenPos": 9479, "line": 264, "column": 7 } }, "_codes": [ 548 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/set%3A_nextListener%404048458", "name": "_nextListener=", "_vmName": "set:_nextListener@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1249", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1250", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 2836, "endTokenPos": 2849, "line": 76, "column": 20 } }, "_codes": [ 549 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/set%3A_resultOrListeners%404048458", "name": "_resultOrListeners=", "_vmName": "set:_resultOrListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1251", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 9461, "endTokenPos": 9479, "line": 264, "column": 7 } }, "_codes": [ 550 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/get%3A_functionData%404048458", "name": "_functionData", "_vmName": "get:_functionData@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 12766, "endTokenPos": 12865, "line": 423, "column": 3 } }, "_codes": [ 551 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_runPendingImmediateCallback%401026248", "name": "_runPendingImmediateCallback", "_vmName": "_runPendingImmediateCallback@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3450, "endTokenPos": 3652, "line": 117, "column": 1 } }, "_codes": [ 552 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/implicit_closures/37", "name": "_handleMessage", "_vmName": "_handleMessage@1026248", "owner": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_handleMessage%401026248", "name": "_handleMessage", "_vmName": "_handleMessage@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 13454, "endTokenPos": 13973, "line": 419, "column": 3 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 13454, "endTokenPos": 13973, "line": 419, "column": 3 } }, "_codes": [ 553 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_handleMessage%401026248", "name": "_handleMessage", "_vmName": "_handleMessage@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 13454, "endTokenPos": 13973, "line": 419, "column": 3 } }, "_codes": [ 554 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_queueFromTimeoutEvent%401026248", "name": "_queueFromTimeoutEvent", "_vmName": "_queueFromTimeoutEvent@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 10268, "endTokenPos": 11332, "line": 329, "column": 3 } }, "_codes": [ 555 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/removeFirst", "name": "removeFirst", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 1059, "endTokenPos": 1132, "line": 38, "column": 3 } }, "_codes": [ 556 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/711/functions/remove", "name": "remove", "owner": { "type": "@Class", "fixedId": true, "id": "classes/711", "name": "_TimerHeap", "_vmName": "_TimerHeap@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 575, "endTokenPos": 3224, "line": 15, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 1137, "endTokenPos": 1655, "line": 44, "column": 3 } }, "_codes": [ 557 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/_runTimers%401026248", "name": "_runTimers", "_vmName": "_runTimers@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 11337, "endTokenPos": 13449, "line": 355, "column": 3 } }, "_codes": [ 558 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_callback%401026248", "name": "_callback", "_vmName": "get:_callback@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4361, "endTokenPos": 4370, "line": 151, "column": 7 } }, "_codes": [ 559 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_repeating%401026248", "name": "_repeating", "_vmName": "get:_repeating@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4541, "endTokenPos": 4551, "line": 154, "column": 14 } }, "_codes": [ 560 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/set%3A_callback%401026248", "name": "_callback=", "_vmName": "set:_callback@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4361, "endTokenPos": 4370, "line": 151, "column": 7 } }, "_codes": [ 561 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/get%3A_tick%401026248", "name": "_tick", "_vmName": "get:_tick@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4741, "endTokenPos": 4750, "line": 158, "column": 7 } }, "_codes": [ 562 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/712/functions/set%3A_tick%401026248", "name": "_tick=", "_vmName": "set:_tick@1026248", "owner": { "type": "@Class", "fixedId": true, "id": "classes/712", "name": "_Timer", "_vmName": "_Timer@1026248", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 3227, "endTokenPos": 15446, "line": 120, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" } }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Ftimer_impl.dart/0", "uri": "dart:isolate-patch/timer_impl.dart", "_kind": "kernel" }, "tokenPos": 4741, "endTokenPos": 4750, "line": 158, "column": 7 } }, "_codes": [ 563 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/timer_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/352/closures/12", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "classes/352/functions/_createTimer%404048458", "name": "_createTimer", "_vmName": "_createTimer@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/352", "name": "Timer", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ftimer.dart/0", "uri": "dart:async/timer.dart", "_kind": "kernel" }, "tokenPos": 1345, "endTokenPos": 5969, "line": 36, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Ftimer_patch.dart/0", "uri": "dart:async-patch/timer_patch.dart", "_kind": "kernel" }, "tokenPos": 272, "endTokenPos": 661, "line": 9, "column": 3 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Ftimer_patch.dart/0", "uri": "dart:async-patch/timer_patch.dart", "_kind": "kernel" }, "tokenPos": 620, "endTokenPos": 649, "line": 17, "column": 34 } }, "_codes": [ 564 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/285/closures/11", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "classes/285/functions/Future.delayed", "name": "Future.delayed", "owner": { "type": "@Class", "fixedId": true, "id": "classes/285", "name": "Future", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 9668, "endTokenPos": 35708, "line": 224, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1252", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 16384, "endTokenPos": 16960, "line": 413, "column": 3 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 16689, "endTokenPos": 16936, "line": 419, "column": 25 } }, "_codes": [ 565 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_complete%404048458", "name": "_complete", "_vmName": "_complete@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1253", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 18672, "endTokenPos": 19314, "line": 542, "column": 3 } }, "_codes": [ 566 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_removeListeners%404048458", "name": "_removeListeners", "_vmName": "_removeListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1254", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 16127, "endTokenPos": 16417, "line": 469, "column": 3 } }, "_codes": [ 567 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: _FutureListener@4048458?", "_kind": "Stub" }, "_codes": [ 568 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_reverseListeners%404048458", "name": "_reverseListeners", "_vmName": "_reverseListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1255", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 16422, "endTokenPos": 16751, "line": 478, "column": 3 } }, "_codes": [ 569 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3A_nextListener%404048458", "name": "_nextListener", "_vmName": "get:_nextListener@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1256", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1257", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 2836, "endTokenPos": 2849, "line": 76, "column": 20 } }, "_codes": [ 570 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_setValue%404048458", "name": "_setValue", "_vmName": "_setValue@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1258", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 13442, "endTokenPos": 13592, "line": 383, "column": 3 } }, "_codes": [ 571 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/set%3A_state%404048458", "name": "_state=", "_vmName": "set:_state@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1259", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitSetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 8473, "endTokenPos": 8498, "line": 241, "column": 7 } }, "_codes": [ 572 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_propagateToListeners%404048458", "name": "_propagateToListeners", "_vmName": "_propagateToListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1260", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 23268, "endTokenPos": 29721, "line": 671, "column": 3 } }, "_codes": [ 573 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_hasError%404048458", "name": "_hasError", "_vmName": "get:_hasError@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1261", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 10440, "endTokenPos": 10489, "line": 292, "column": 3 } }, "_codes": [ 574 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3AhandlesValue", "name": "handlesValue", "_vmName": "get:handlesValue", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1262", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1263", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3986, "endTokenPos": 4035, "line": 114, "column": 3 } }, "_codes": [ 575 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3Astate", "name": "state", "_vmName": "get:state", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1264", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1265", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3039, "endTokenPos": 3044, "line": 84, "column": 13 } }, "_codes": [ 576 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3A_zone%404048458", "name": "_zone", "_vmName": "get:_zone@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1266", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1267", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3950, "endTokenPos": 3981, "line": 112, "column": 3 } }, "_codes": [ 577 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3Aresult", "name": "result", "_vmName": "get:result", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1268", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1269", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 2960, "endTokenPos": 2966, "line": 80, "column": 20 } }, "_codes": [ 578 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/get%3A_zone%404048458", "name": "_zone", "_vmName": "get:_zone@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1270", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 8764, "endTokenPos": 8769, "line": 248, "column": 15 } }, "_codes": [ 579 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3AhandlesComplete", "name": "handlesComplete", "_vmName": "get:handlesComplete", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1271", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1272", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 4162, "endTokenPos": 4229, "line": 117, "column": 3 } }, "_codes": [ 580 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate AsyncError", "_kind": "Stub" }, "_codes": [ 581 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/closures/17", "name": "handleValueCallback", "owner": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_propagateToListeners%404048458", "name": "_propagateToListeners", "_vmName": "_propagateToListeners@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1273", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 23268, "endTokenPos": 29721, "line": 671, "column": 3 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 27193, "endTokenPos": 27450, "line": 764, "column": 9 } }, "_codes": [ 582 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/handleValue", "name": "handleValue", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1274", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1275", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 4889, "endTokenPos": 5065, "line": 144, "column": 3 } }, "_codes": [ 583 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3A_onValue%404048458", "name": "_onValue", "_vmName": "get:_onValue@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1276", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1277", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 4234, "endTokenPos": 4359, "line": 119, "column": 3 } }, "_codes": [ 584 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/get%3Acallback", "name": "callback", "_vmName": "get:callback", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1278", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1279", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3145, "endTokenPos": 3153, "line": 88, "column": 19 } }, "_codes": [ 585 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 68, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/361/functions/runUnary", "name": "runUnary", "owner": { "type": "@Class", "fixedId": true, "id": "classes/361", "name": "_RootZone", "_vmName": "_RootZone@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 61055, "endTokenPos": 66769, "line": 1511, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 65688, "endTokenPos": 65876, "line": 1651, "column": 3 } }, "_codes": [ 586 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/closures/13", "name": "thenCallback", "owner": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/_createAsyncCallbacks%404048458", "name": "_createAsyncCallbacks", "_vmName": "_createAsyncCallbacks@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5714, "endTokenPos": 6706, "line": 191, "column": 3 } }, "_kind": "ClosureFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5811, "endTokenPos": 5899, "line": 194, "column": 5 } }, "_codes": [ 587 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/async_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/75/functions/_resume%404048458", "name": "_resume", "_vmName": "_resume@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/75", "name": "_SuspendState", "_vmName": "_SuspendState@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 5537, "endTokenPos": 13874, "line": 183, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fasync_patch.dart/0", "uri": "dart:async-patch/async_patch.dart", "_kind": "kernel" }, "tokenPos": 13398, "endTokenPos": 13552, "line": 443, "column": 3 } }, "_codes": [ 588 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/closures/9", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@18506296/functions/main", "name": "main", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@18506296", "name": "", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 163, "endTokenPos": 269, "line": 13, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@18506296/scripts/file%3A%2F%2F%2FUsers%2Ftester%2Fdart-sdk%2Fsdk%2Ftest_prog.dart/18292fec975", "uri": "file:///Users/tester/dart-sdk/sdk/test_prog.dart", "_kind": "kernel" }, "tokenPos": 240, "endTokenPos": 257, "line": 16, "column": 13 } }, "_codes": [ 589 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate ServiceExtensionResponse", "_kind": "Stub" }, "_codes": [ 590 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_runExtension%405383715", "name": "_runExtension", "_vmName": "_runExtension@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 2294, "endTokenPos": 4176, "line": 72, "column": 1 } }, "_codes": [ 591 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1029/implicit_closures/14", "name": "_serviceExtensionHandler", "_vmName": "_serviceExtensionHandler@14069316", "owner": { "type": "@Function", "fixedId": true, "id": "classes/1029/functions/_serviceExtensionHandler%4014069316", "name": "_serviceExtensionHandler", "_vmName": "_serviceExtensionHandler@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1029", "name": "_NetworkProfiling", "_vmName": "_NetworkProfiling@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 413, "endTokenPos": 5792, "line": 14, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 2918, "endTokenPos": 5642, "line": 59, "column": 3 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 2918, "endTokenPos": 5642, "line": 59, "column": 3 } }, "_codes": [ 592 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1029/functions/_serviceExtensionHandler%4014069316", "name": "_serviceExtensionHandler", "_vmName": "_serviceExtensionHandler@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1029", "name": "_NetworkProfiling", "_vmName": "_NetworkProfiling@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 413, "endTokenPos": 5792, "line": 14, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 2918, "endTokenPos": 5642, "line": 59, "column": 3 } }, "_codes": [ 593 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _Future", "_kind": "Stub" }, "_codes": [ 594 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/platform.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1035/functions/get%3AisAndroid", "name": "isAndroid", "_vmName": "get:isAndroid", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1035", "name": "Platform", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 1941, "endTokenPos": 9095, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 5494, "endTokenPos": 5537, "line": 149, "column": 21 } }, "_codes": [ 595 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/platform.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1035/field_inits/isAndroid", "name": "isAndroid", "_vmName": "init:isAndroid", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1035", "name": "Platform", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 1941, "endTokenPos": 9095, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 5494, "endTokenPos": 5537, "line": 149, "column": 21 } }, "_codes": [ 596 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/platform.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1035/functions/get%3A_operatingSystem%4014069316", "name": "_operatingSystem", "_vmName": "get:_operatingSystem@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1035", "name": "Platform", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 1941, "endTokenPos": 9095, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "ImplicitStaticGetter", "static": true, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 2097, "endTokenPos": 2141, "line": 64, "column": 16 } }, "_codes": [ 597 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/platform.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1035/field_inits/_operatingSystem%4014069316", "name": "_operatingSystem", "_vmName": "init:_operatingSystem@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1035", "name": "Platform", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 1941, "endTokenPos": 9095, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "FieldInitializer", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform.dart/0", "uri": "dart:io/platform.dart", "_kind": "kernel" }, "tokenPos": 2097, "endTokenPos": 2141, "line": 64, "column": 16 } }, "_codes": [ 598 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/platform_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1036/functions/get%3AoperatingSystem", "name": "operatingSystem", "_vmName": "get:operatingSystem", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1036", "name": "_Platform", "_vmName": "_Platform@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform_impl.dart/0", "uri": "dart:io/platform_impl.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 3955, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform_impl.dart/0", "uri": "dart:io/platform_impl.dart", "_kind": "kernel" }, "tokenPos": 2098, "endTokenPos": 2153, "line": 56, "column": 3 } }, "_codes": [ 599 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/bin/platform_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1036/functions/_operatingSystem%4014069316", "name": "_operatingSystem", "_vmName": "_operatingSystem@14069316", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1036", "name": "_Platform", "_vmName": "_Platform@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fplatform_impl.dart/0", "uri": "dart:io/platform_impl.dart", "_kind": "kernel" }, "tokenPos": 235, "endTokenPos": 3955, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": true, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio-patch%2Fplatform_patch.dart/0", "uri": "dart:io-patch/platform_patch.dart", "_kind": "kernel" }, "tokenPos": 526, "endTokenPos": 634, "line": 16, "column": 3 } }, "_codes": [ 600 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_socketProfilingEnabled%4014069316", "name": "_socketProfilingEnabled", "_vmName": "_socketProfilingEnabled@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 7105, "endTokenPos": 7602, "line": 188, "column": 1 } }, "_codes": [ 601 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1030/functions/get%3AenableSocketProfiling", "name": "enableSocketProfiling", "_vmName": "get:enableSocketProfiling", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1030", "name": "_SocketProfile", "_vmName": "_SocketProfile@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 7605, "endTokenPos": 10482, "line": 203, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 7973, "endTokenPos": 8036, "line": 215, "column": 3 } }, "_codes": [ 602 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: Object", "_kind": "Stub" }, "_codes": [ 603 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/583/functions/ServiceExtensionResponse.result", "name": "ServiceExtensionResponse.result", "owner": { "type": "@Class", "fixedId": true, "id": "classes/583", "name": "ServiceExtensionResponse", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 420, "endTokenPos": 3151, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 959, "endTokenPos": 1191, "line": 25, "column": 3 } }, "_codes": [ 604 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/285/functions/Future.value", "name": "Future.value", "owner": { "type": "@Class", "fixedId": true, "id": "classes/285", "name": "Future", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 9668, "endTokenPos": 35708, "line": 224, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1280", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture.dart/0", "uri": "dart:async/future.dart", "_kind": "kernel" }, "tokenPos": 13970, "endTokenPos": 14090, "line": 348, "column": 3 } }, "_codes": [ 605 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_Future%404048458.immediate", "name": "_Future.immediate", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1281", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 9568, "endTokenPos": 9662, "line": 269, "column": 3 } }, "_codes": [ 606 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_asyncComplete%404048458", "name": "_asyncComplete", "_vmName": "_asyncComplete@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1282", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 19731, "endTokenPos": 20797, "line": 577, "column": 3 } }, "_codes": [ 607 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: ServiceExtensionResponse", "_kind": "Stub" }, "_codes": [ 608 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_asyncCompleteWithValue%404048458", "name": "_asyncCompleteWithValue", "_vmName": "_asyncCompleteWithValue@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1283", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 22324, "endTokenPos": 22467, "line": 636, "column": 3 } }, "_codes": [ 609 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_setPendingComplete%404048458", "name": "_setPendingComplete", "_vmName": "_setPendingComplete@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1284", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 12960, "endTokenPos": 13096, "line": 362, "column": 3 } }, "_codes": [ 610 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/361/functions/scheduleMicrotask", "name": "scheduleMicrotask", "owner": { "type": "@Class", "fixedId": true, "id": "classes/361", "name": "_RootZone", "_vmName": "_RootZone@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 61055, "endTokenPos": 66769, "line": 1511, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 66395, "endTokenPos": 66481, "line": 1672, "column": 3 } }, "_codes": [ 611 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/zone.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_rootScheduleMicrotask%404048458", "name": "_rootScheduleMicrotask", "_vmName": "_rootScheduleMicrotask@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fzone.dart/0", "uri": "dart:async/zone.dart", "_kind": "kernel" }, "tokenPos": 59059, "endTokenPos": 59397, "line": 1448, "column": 1 } }, "_codes": [ 612 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Allocate _AsyncCallbackEntry", "_kind": "Stub" }, "_codes": [ 613 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_scheduleAsyncCallback%404048458", "name": "_scheduleAsyncCallback", "_vmName": "_scheduleAsyncCallback@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 1887, "endTokenPos": 2311, "line": 63, "column": 1 } }, "_codes": [ 614 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/293/functions/_AsyncCallbackEntry%404048458.", "name": "_AsyncCallbackEntry", "_vmName": "_AsyncCallbackEntry@4048458.", "owner": { "type": "@Class", "fixedId": true, "id": "classes/293", "name": "_AsyncCallbackEntry", "_vmName": "_AsyncCallbackEntry@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 270, "endTokenPos": 398, "line": 9, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 362, "endTokenPos": 396, "line": 12, "column": 3 } }, "_codes": [ 615 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/schedule_microtask_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/294/functions/_scheduleImmediate%404048458", "name": "_scheduleImmediate", "_vmName": "_scheduleImmediate@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/294", "name": "_AsyncRun", "_vmName": "_AsyncRun@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 4879, "endTokenPos": 5042, "line": 147, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync-patch%2Fschedule_microtask_patch.dart/0", "uri": "dart:async-patch/schedule_microtask_patch.dart", "_kind": "kernel" }, "tokenPos": 276, "endTokenPos": 508, "line": 9, "column": 3 } }, "_codes": [ 616 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/implicit_closures/0", "name": "_isolateScheduleImmediate", "_vmName": "_isolateScheduleImmediate@1026248", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_isolateScheduleImmediate%401026248", "name": "_isolateScheduleImmediate", "_vmName": "_isolateScheduleImmediate@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3261, "endTokenPos": 3447, "line": 111, "column": 1 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3261, "endTokenPos": 3447, "line": 111, "column": 1 } }, "_codes": [ 617 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/isolate_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@1026248/functions/_isolateScheduleImmediate%401026248", "name": "_isolateScheduleImmediate", "_vmName": "_isolateScheduleImmediate@1026248", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@1026248", "name": "dart.isolate", "uri": "dart:isolate" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@1026248/scripts/dart%3Aisolate-patch%2Fisolate_patch.dart/0", "uri": "dart:isolate-patch/isolate_patch.dart", "_kind": "kernel" }, "tokenPos": 3261, "endTokenPos": 3447, "line": 111, "column": 1 } }, "_codes": [ 618 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/catchError", "name": "catchError", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1285", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 12196, "endTokenPos": 12595, "line": 341, "column": 3 } }, "_codes": [ 619 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/_FutureListener%404048458.catchError", "name": "_FutureListener.catchError", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1286", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1287", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3671, "endTokenPos": 3820, "line": 105, "column": 3 } }, "_codes": [ 620 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/then", "name": "then", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1288", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 10719, "endTokenPos": 11719, "line": 301, "column": 3 } }, "_codes": [ 621 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/291/functions/_FutureListener%404048458.then", "name": "_FutureListener.then", "_vmName": "[email protected]", "owner": { "type": "@Class", "fixedId": true, "id": "classes/291", "name": "_FutureListener", "_vmName": "_FutureListener@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 1862, "endTokenPos": 6842, "line": 55, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1289", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } }, { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 2643154464, "kind": "TypeParameter", "id": "objects/1290", "name": "X1", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "Constructor", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 3223, "endTokenPos": 3459, "line": 93, "column": 3 } }, "_codes": [ 622 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/implicit_closures/17", "name": "_startMicrotaskLoop", "_vmName": "_startMicrotaskLoop@4048458", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_startMicrotaskLoop%404048458", "name": "_startMicrotaskLoop", "_vmName": "_startMicrotaskLoop@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 1350, "endTokenPos": 1705, "line": 44, "column": 1 } }, "_kind": "ImplicitClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 1350, "endTokenPos": 1705, "line": 44, "column": 1 } }, "_codes": [ 623 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_startMicrotaskLoop%404048458", "name": "_startMicrotaskLoop", "_vmName": "_startMicrotaskLoop@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 1350, "endTokenPos": 1705, "line": 44, "column": 1 } }, "_codes": [ 624 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@4048458/functions/_microtaskLoop%404048458", "name": "_microtaskLoop", "_vmName": "_microtaskLoop@4048458", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 1090, "endTokenPos": 1347, "line": 34, "column": 1 } }, "_codes": [ 625 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/293/functions/get%3Anext", "name": "next", "_vmName": "get:next", "owner": { "type": "@Class", "fixedId": true, "id": "classes/293", "name": "_AsyncCallbackEntry", "_vmName": "_AsyncCallbackEntry@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 270, "endTokenPos": 398, "line": 9, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "ImplicitGetter", "static": false, "const": false, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 354, "endTokenPos": 358, "line": 11, "column": 24 } }, "_codes": [ 626 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/schedule_microtask.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/293/functions/get%3Acallback", "name": "callback", "_vmName": "get:callback", "owner": { "type": "@Class", "fixedId": true, "id": "classes/293", "name": "_AsyncCallbackEntry", "_vmName": "_AsyncCallbackEntry@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 270, "endTokenPos": 398, "line": 9, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Fschedule_microtask.dart/0", "uri": "dart:async/schedule_microtask.dart", "_kind": "kernel" }, "tokenPos": 321, "endTokenPos": 329, "line": 10, "column": 24 } }, "_codes": [ 627 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/closures/22", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_asyncCompleteWithValue%404048458", "name": "_asyncCompleteWithValue", "_vmName": "_asyncCompleteWithValue@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1291", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 22324, "endTokenPos": 22467, "line": 636, "column": 3 } }, "_kind": "ClosureFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 22419, "endTokenPos": 22462, "line": 638, "column": 29 } }, "_codes": [ 628 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/async/future_impl.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/292/functions/_completeWithValue%404048458", "name": "_completeWithValue", "_vmName": "_completeWithValue@4048458", "owner": { "type": "@Class", "fixedId": true, "id": "classes/292", "name": "_Future", "_vmName": "_Future@4048458", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 6845, "endTokenPos": 30980, "line": 199, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@4048458", "name": "dart.async", "uri": "dart:async" }, "typeParameters": [ { "type": "@Instance", "_vmType": "TypeParameter", "class": { "type": "@Class", "fixedId": true, "id": "classes/54", "name": "_TypeParameter", "_vmName": "_TypeParameter@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Ftype_patch.dart/0", "uri": "dart:core-patch/type_patch.dart", "_kind": "kernel" }, "tokenPos": 1749, "endTokenPos": 1894, "line": 60, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "identityHashCode": 3713131811, "kind": "TypeParameter", "id": "objects/1292", "name": "X0", "parameterizedClass": { "type": "@Instance", "_vmType": "Class", "class": { "type": "@Class", "fixedId": true, "id": "classes/155", "name": "Null", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore%2Fnull.dart/0", "uri": "dart:core/null.dart", "_kind": "kernel" }, "tokenPos": 925, "endTokenPos": 1165, "line": 23, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "kind": "Null", "fixedId": true, "id": "objects/null", "valueAsString": "null" } } ] }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@4048458/scripts/dart%3Aasync%2Ffuture_impl.dart/0", "uri": "dart:async/future_impl.dart", "_kind": "kernel" }, "tokenPos": 19319, "endTokenPos": 19502, "line": 561, "column": 3 } }, "_codes": [ 629 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/closures/20", "name": "<anonymous closure>", "owner": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_runExtension%405383715", "name": "_runExtension", "_vmName": "_runExtension@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 2294, "endTokenPos": 4176, "line": 72, "column": 1 } }, "_kind": "ClosureFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 3594, "endTokenPos": 4028, "line": 107, "column": 11 } }, "_codes": [ 630 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/developer.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@5383715/functions/_postResponse%405383715", "name": "_postResponse", "_vmName": "_postResponse@5383715", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper-patch%2Fdeveloper.dart/0", "uri": "dart:developer-patch/developer.dart", "_kind": "kernel" }, "tokenPos": 4226, "endTokenPos": 5090, "line": 123, "column": 1 } }, "_codes": [ 631 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/583/functions/isError", "name": "isError", "owner": { "type": "@Class", "fixedId": true, "id": "classes/583", "name": "ServiceExtensionResponse", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 420, "endTokenPos": 3151, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 2810, "endTokenPos": 2872, "line": 79, "column": 3 } }, "_codes": [ 632 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/583/functions/get%3AerrorCode", "name": "errorCode", "_vmName": "get:errorCode", "owner": { "type": "@Class", "fixedId": true, "id": "classes/583", "name": "ServiceExtensionResponse", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 420, "endTokenPos": 3151, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 634, "endTokenPos": 643, "line": 16, "column": 14 } }, "_codes": [ 633 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/583/functions/_toString%405383715", "name": "_toString", "_vmName": "_toString@5383715", "owner": { "type": "@Class", "fixedId": true, "id": "classes/583", "name": "ServiceExtensionResponse", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 420, "endTokenPos": 3151, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 2945, "endTokenPos": 3149, "line": 82, "column": 3 } }, "_codes": [ 634 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/developer/extension.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/583/functions/get%3Aresult", "name": "result", "_vmName": "get:result", "owner": { "type": "@Class", "fixedId": true, "id": "classes/583", "name": "ServiceExtensionResponse", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 420, "endTokenPos": 3151, "line": 11, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@5383715", "name": "dart.developer", "uri": "dart:developer" } }, "_kind": "ImplicitGetter", "static": false, "const": true, "implicit": true, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@5383715/scripts/dart%3Adeveloper%2Fextension.dart/0", "uri": "dart:developer/extension.dart", "_kind": "kernel" }, "tokenPos": 534, "endTokenPos": 540, "line": 13, "column": 17 } }, "_codes": [ 635 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/_interpolate%400150898", "name": "_interpolate", "_vmName": "_interpolate@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 28763, "endTokenPos": 29882, "line": 844, "column": 3 } }, "_codes": [ 636 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/210/functions/toString", "name": "toString", "owner": { "type": "@Class", "fixedId": true, "id": "classes/210", "name": "_StringBase", "_vmName": "_StringBase@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 1880, "endTokenPos": 32869, "line": 61, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 10046, "endTokenPos": 10085, "line": 281, "column": 3 } }, "_codes": [ 637 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/_concatAll%400150898", "name": "_concatAll", "_vmName": "_concatAll@0150898", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 35515, "endTokenPos": 36055, "line": 1049, "column": 3 } }, "_codes": [ 638 ] }, { "type": "ProfileFunction", "kind": "Stub", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Stub] Type Test Type: _OneByteString@0150898", "_kind": "Stub" }, "_codes": [ 639 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/58/functions/toString", "name": "toString", "owner": { "type": "@Class", "fixedId": true, "id": "classes/58", "name": "_Smi", "_vmName": "_Smi@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 16889, "endTokenPos": 25437, "line": 554, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 21535, "endTokenPos": 23100, "line": 658, "column": 3 } }, "_codes": [ 640 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_setHttpEnableTimelineLogging%4014069316", "name": "_setHttpEnableTimelineLogging", "_vmName": "_setHttpEnableTimelineLogging@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 6224, "endTokenPos": 6638, "line": 158, "column": 1 } }, "_codes": [ 641 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/string_patch.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/91/functions/toLowerCase", "name": "toLowerCase", "owner": { "type": "@Class", "fixedId": true, "id": "classes/91", "name": "_OneByteString", "_vmName": "_OneByteString@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 33463, "endTokenPos": 46178, "line": 987, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fstring_patch.dart/0", "uri": "dart:core-patch/string_patch.dart", "_kind": "kernel" }, "tokenPos": 43208, "endTokenPos": 43701, "line": 1240, "column": 3 } }, "_codes": [ 642 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_success%4014069316", "name": "_success", "_vmName": "_success@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 5795, "endTokenPos": 5861, "line": 144, "column": 1 } }, "_codes": [ 643 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "libraries/@14069316/functions/_getHttpEnableTimelineLogging%4014069316", "name": "_getHttpEnableTimelineLogging", "_vmName": "_getHttpEnableTimelineLogging@14069316", "owner": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 6066, "endTokenPos": 6221, "line": 153, "column": 1 } }, "_codes": [ 644 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_http/http.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1087/functions/get%3AenableTimelineLogging", "name": "enableTimelineLogging", "_vmName": "get:enableTimelineLogging", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1087", "name": "HttpClient", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@16463476/scripts/dart%3A_http/0", "uri": "dart:_http", "_kind": "kernel" }, "tokenPos": 43357, "endTokenPos": 61225, "line": 1143, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@16463476", "name": "dart._http", "uri": "dart:_http" } }, "_kind": "GetterFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@16463476/scripts/dart%3A_http/0", "uri": "dart:_http", "_kind": "kernel" }, "tokenPos": 44100, "endTokenPos": 44163, "line": 1167, "column": 3 } }, "_codes": [ 645 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/io/network_profiling.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/1029/functions/getVersion", "name": "getVersion", "owner": { "type": "@Class", "fixedId": true, "id": "classes/1029", "name": "_NetworkProfiling", "_vmName": "_NetworkProfiling@14069316", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 413, "endTokenPos": 5792, "line": 14, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@14069316", "name": "dart.io", "uri": "dart:io" } }, "_kind": "RegularFunction", "static": true, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@14069316/scripts/dart%3Aio%2Fnetwork_profiling.dart/0", "uri": "dart:io/network_profiling.dart", "_kind": "kernel" }, "tokenPos": 5647, "endTokenPos": 5790, "line": 137, "column": 3 } }, "_codes": [ 646 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/_internal/vm/lib/integers.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/57/functions/get%3AisFinite", "name": "isFinite", "_vmName": "get:isFinite", "owner": { "type": "@Class", "fixedId": true, "id": "classes/57", "name": "_IntegerImplementation", "_vmName": "_IntegerImplementation@0150898", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 248, "endTokenPos": 16886, "line": 7, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@0150898", "name": "dart.core", "uri": "dart:core" } }, "_kind": "GetterFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@0150898/scripts/dart%3Acore-patch%2Fintegers.dart/0", "uri": "dart:core-patch/integers.dart", "_kind": "kernel" }, "tokenPos": 6925, "endTokenPos": 6950, "line": 198, "column": 3 } }, "_codes": [ 647 ] }, { "type": "ProfileFunction", "kind": "Dart", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "org-dartlang-sdk:///sdk/lib/convert/json.dart", "function": { "type": "@Function", "fixedId": true, "id": "classes/551/functions/writeNumber", "name": "writeNumber", "owner": { "type": "@Class", "fixedId": true, "id": "classes/551", "name": "_JsonStringStringifier", "_vmName": "_JsonStringStringifier@10003594", "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 33225, "endTokenPos": 35021, "line": 949, "column": 1 }, "library": { "type": "@Library", "fixedId": true, "id": "libraries/@10003594", "name": "dart.convert", "uri": "dart:convert" } }, "_kind": "RegularFunction", "static": false, "const": false, "implicit": false, "abstract": false, "_intrinsic": false, "_native": false, "location": { "type": "SourceLocation", "script": { "type": "@Script", "fixedId": true, "id": "libraries/@10003594/scripts/dart%3Aconvert%2Fjson.dart/0", "uri": "dart:convert/json.dart", "_kind": "kernel" }, "tokenPos": 34694, "endTokenPos": 34763, "line": 988, "column": 3 } }, "_codes": [ 648 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "Runtime", "_kind": "Tag" }, "_codes": [ 649 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "Root", "_kind": "Tag" }, "_codes": [ 650 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Truncated]", "_kind": "Tag" }, "_codes": [ 651 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[No Code]", "_kind": "Tag" }, "_codes": [ 652 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Optimized Code]", "_kind": "Tag" }, "_codes": [ 653 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Unoptimized Code]", "_kind": "Tag" }, "_codes": [ 654 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Native Code]", "_kind": "Tag" }, "_codes": [ 655 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Inline Start]", "_kind": "Tag" }, "_codes": [ 656 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "[Inline End]", "_kind": "Tag" }, "_codes": [ 657 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "Default", "_kind": "Tag" }, "_codes": [ 658 ] }, { "type": "ProfileFunction", "kind": "Tag", "inclusiveTicks": 0, "exclusiveTicks": 0, "resolvedUrl": "", "function": { "type": "NativeFunction", "name": "DRT_AllocateObject", "_kind": "Tag" }, "_codes": [ 659 ] } ], "samples": [ { "tid": 19459, "timestamp": 108401157982, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2292112552 }, { "tid": 19459, "timestamp": 108401158003, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 974416670 }, { "tid": 19459, "timestamp": 108402158573, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2188700402 }, { "tid": 19459, "timestamp": 108402158587, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1300331591 }, { "tid": 19459, "timestamp": 108403161251, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2819777709 }, { "tid": 19459, "timestamp": 108403161296, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1099425904 }, { "tid": 19459, "timestamp": 108404163341, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1343274602 }, { "tid": 19459, "timestamp": 108404163362, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 463227129 }, { "tid": 19459, "timestamp": 108405164803, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2473812735 }, { "tid": 19459, "timestamp": 108405164818, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3651333513 }, { "tid": 19459, "timestamp": 108406166460, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3672963132 }, { "tid": 19459, "timestamp": 108406166473, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2694050889 }, { "tid": 19459, "timestamp": 108407168317, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3166278073 }, { "tid": 19459, "timestamp": 108407168343, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2537725385 }, { "tid": 19459, "timestamp": 108408170908, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 697002278 }, { "tid": 19459, "timestamp": 108408170935, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2742663925 }, { "tid": 19459, "timestamp": 108409172794, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 149609440 }, { "tid": 19459, "timestamp": 108409172823, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 668185295 }, { "tid": 19459, "timestamp": 108410174613, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3013009664 }, { "tid": 19459, "timestamp": 108410174644, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3466128884 }, { "tid": 19459, "timestamp": 108411175428, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1211545615 }, { "tid": 19459, "timestamp": 108411175441, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 201478983 }, { "tid": 19459, "timestamp": 108412177966, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2092675418 }, { "tid": 19459, "timestamp": 108412177984, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1926047901 }, { "tid": 19459, "timestamp": 108413179731, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2289087618 }, { "tid": 19459, "timestamp": 108413179750, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1790324992 }, { "tid": 19459, "timestamp": 108414180852, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3962777973 }, { "tid": 19459, "timestamp": 108414180878, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1355055270 }, { "tid": 19459, "timestamp": 108415181921, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1536108965 }, { "tid": 19459, "timestamp": 108415181940, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3251945037 }, { "tid": 19459, "timestamp": 108416182502, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 954976605 }, { "tid": 19459, "timestamp": 108416182517, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1397235726 }, { "tid": 19459, "timestamp": 108417184261, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 310235726 }, { "tid": 19459, "timestamp": 108417184288, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2814193503 }, { "tid": 19459, "timestamp": 108418186988, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2351212693 }, { "tid": 19459, "timestamp": 108418187016, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1352325421 }, { "tid": 19459, "timestamp": 108419189381, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 445919242 }, { "tid": 19459, "timestamp": 108419189406, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1671398687 }, { "tid": 19459, "timestamp": 108420192093, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 742589153 }, { "tid": 19459, "timestamp": 108420192105, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 915810236 }, { "tid": 19459, "timestamp": 108421194301, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2437030556 }, { "tid": 19459, "timestamp": 108421194322, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1870795986 }, { "tid": 19459, "timestamp": 108422196008, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2188690645 }, { "tid": 19459, "timestamp": 108422196036, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2290678564 }, { "tid": 19459, "timestamp": 108423197376, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3910435405 }, { "tid": 19459, "timestamp": 108423197395, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3455506496 }, { "tid": 19459, "timestamp": 108424200095, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1333973068 }, { "tid": 19459, "timestamp": 108424200121, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2208063176 }, { "tid": 19459, "timestamp": 108425202559, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 4155571813 }, { "tid": 19459, "timestamp": 108425202585, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 401191349 }, { "tid": 19459, "timestamp": 108426204542, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1457279380 }, { "tid": 19459, "timestamp": 108426204571, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1296604998 }, { "tid": 19459, "timestamp": 108427206303, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3619437142 }, { "tid": 19459, "timestamp": 108427206328, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 452061824 }, { "tid": 19459, "timestamp": 108428209082, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 613872930 }, { "tid": 19459, "timestamp": 108428209110, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2411838573 }, { "tid": 19459, "timestamp": 108429212040, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3674679054 }, { "tid": 19459, "timestamp": 108429212055, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2108383130 }, { "tid": 19459, "timestamp": 108430213593, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 147153976 }, { "tid": 19459, "timestamp": 108430213607, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2207643227 }, { "tid": 19459, "timestamp": 108431215361, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2718316905 }, { "tid": 19459, "timestamp": 108431215374, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 4218162637 }, { "tid": 19459, "timestamp": 108432216201, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3689606726 }, { "tid": 19459, "timestamp": 108432216215, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1880214880 }, { "tid": 19459, "timestamp": 108433217237, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 2922209109 }, { "tid": 19459, "timestamp": 108433217249, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 3004972573 }, { "tid": 19459, "timestamp": 108434219737, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 489, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 488, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 1520992441 }, { "tid": 19459, "timestamp": 108434219751, "vmTag": "DRT_AllocateObject", "runtimeEntryTag": true, "userTag": "Default", "stack": [ 545, 481, 587, 584, 583, 574, 567, 566, 565, 559, 555, 415 ], "_codeStack": [ 544, 535, 480, 587, 586, 583, 582, 573, 566, 565, 564, 558, 554, 553, 415, 414 ], "classId": 292, "identityHashCode": 165245924 } ] }
devtools/packages/devtools_app/test/test_infra/test_data/memory/allocation_tracing/allocation_trace.json/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/test_data/memory/allocation_tracing/allocation_trace.json", "repo_id": "devtools", "token_count": 1317136 }
117
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. const $bool = null; const bool$ = null; const $num = null; const num$ = null; const $int = null; const int$ = null; const $double = null; const double$ = null; const $dynamic = null; const dynamic$ = null; const $true = null; const true$ = null; const $false = null; const false$ = null; const $null = null; const null$ = null; const $this = null; const this$ = null; const $super = null; const super$ = null; const $as = null; const as$ = null; const $try = null; const try$ = null; const $on = null; const on$ = null; const $catch = null; const catch$ = null; const $finally = null; const finally$ = null; const $throw = null; const throw$ = null; const $rethrow = null; const rethrow$ = null; const $break = null; const break$ = null; const $case = null; const case$ = null; const $continue = null; const continue$ = null; const $default = null; const default$ = null; const $do = null; const do$ = null; const $else = null; const else$ = null; const $for = null; const for$ = null; const $if = null; const if$ = null; const $in = null; const in$ = null; const $return = null; const return$ = null; const $switch = null; const switch$ = null; const $while = null; const while$ = null; const $sync = null; const sync$ = null; const $async = null; const async$ = null; const $await = null; const await$ = null; const $yield = null; const yield$ = null; const $assert = null; const assert$ = null; const $new = null; const new$ = null; const $abstract = null; const abstract$ = null; const $class = null; const class$ = null; const $enum = null; const enum$ = null; const $extends = null; const extends$ = null; const $extension = null; const extension$ = null; const $external = null; const external$ = null; const $factory = null; const factory$ = null; const $implements = null; const implements$ = null; const $get = null; const get$ = null; const $mixin = null; const mixin$ = null; const $native = null; const native$ = null; const $operator = null; const operator$ = null; const $set = null; const set$ = null; const $typedef = null; const typedef$ = null; const $with = null; const with$ = null; const $covariant = null; const covariant$ = null; const $static = null; const static$ = null; const $final = null; const final$ = null; const $const = null; const const$ = null; const $required = null; const required$ = null; const $late = null; const late$ = null; const $void = null; const void$ = null; const $var = null; const var$ = null; const $is = null; const is$ = null;
devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/names.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/names.dart", "repo_id": "devtools", "token_count": 890 }
118
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/vm_developer/object_inspector/inbound_references_tree.dart'; import 'package:devtools_app/src/screens/vm_developer/object_inspector/vm_code_display.dart'; import 'package:devtools_app/src/shared/table/table.dart'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_test/devtools_test.dart'; import 'package:devtools_test/helpers.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/mockito.dart'; import 'package:vm_service/vm_service.dart'; import '../vm_developer_test_utils.dart'; void main() { late MockCodeObject mockCodeObject; const windowSize = Size(4000.0, 4000.0); group('VmCodeDisplay', () { setUp(() { setUpMockScriptManager(); setGlobal(IdeTheme, IdeTheme()); setGlobal( DevToolsEnvironmentParameters, ExternalDevToolsEnvironmentParameters(), ); setGlobal(PreferencesController, PreferencesController()); mockCodeObject = MockCodeObject(); final testCode = Code( id: 'code-obj', kind: 'Dart', name: 'testFuncCode', ); final offset = pow(2, 20) as int; const addressCount = 1000; testCode.json = { 'function': testFunction.toJson(), '_objectPool': { 'id': 'pool-id', 'length': 0, }, InliningData.kInlinedFunctions: [ testFunction.toJson(), ], InliningData.kStartAddressKey: offset.toRadixString(16), InliningData.kInlinedIntervals: [ // Pretend that each group of 4 instructions are inlined. for (int i = 0; i < addressCount / 4; ++i) [ (i * 16), // Start address ((i + 1) * 16 - 1), // End address 0, // The third entry is always 0, for... reasons. 0, // The remaining entries are indicies into kInlinedFunctions 0, ], ], }; testCode.disassembly = Disassembly.parse(<Object?>[ for (int i = 0; i < addressCount; ++i) ...[ (i * 4 + offset).toRadixString(16), 'unknown', 'noop', null, ], ]); final ticksTable = CpuProfilerTicksTable.parse( sampleCount: 1000, ticks: [ for (int i = 0; i < addressCount; ++i) ...[ (i * 4 + offset).toRadixString(16), 1, 1, ], ], ); when(mockCodeObject.obj).thenReturn(testCode); when(mockCodeObject.script).thenReturn(null); when(mockCodeObject.retainingPath).thenReturn( const FixedValueListenable<RetainingPath?>(null), ); when(mockCodeObject.inboundReferencesTree).thenReturn( const FixedValueListenable<List<InboundReferencesTreeNode>>([]), ); when(mockCodeObject.fetchingReachableSize).thenReturn( const FixedValueListenable<bool>(false), ); when(mockCodeObject.fetchingRetainedSize).thenReturn( const FixedValueListenable<bool>(false), ); when(mockCodeObject.retainedSize).thenReturn(null); when(mockCodeObject.reachableSize).thenReturn(null); when(mockCodeObject.ticksTable).thenReturn(ticksTable); }); Future<void> verifyCodeTable(WidgetTester tester) async { expect(find.byType(CodeTable), findsOneWidget); final FlatTableState<Instruction> state = tester.state(find.byType(FlatTable<Instruction>)); // Check that the profiler columns render ticks correctly. final profilerColumns = state.tableController.columns.where( (c) => c.title == 'Total %' || c.title == 'Self %', ); expect(profilerColumns.length, 2); for (final profilerColumn in profilerColumns) { for (final instr in state.tableController.tableData.value.data) { expect(profilerColumn.getDisplayValue(instr), '0.10% (1)'); } } void verifyAddressOrder( List<Instruction> data, CpuProfilerTicksTable? ticks, ) { int lastAddress = 0; for (final instr in data) { final currentAddress = int.parse(instr.address, radix: 16); expect(currentAddress > lastAddress, isTrue); lastAddress = currentAddress; final tick = ticks![instr.unpaddedAddress]; expect(tick, isNotNull); expect(tick!.inclusiveTicks, 1); expect(tick.exclusiveTicks, 1); } } // Ensure ordering is correct. verifyAddressOrder( state.tableController.tableData.value.data, mockCodeObject.ticksTable, ); final columns = state.widget.columns; // Make sure the table can't be sorted differently. for (final column in columns) { await tester.tap( find.descendant( of: find.byType(CodeTable), matching: find.text(column.title), ), ); await tester.pumpAndSettle(); verifyAddressOrder( state.tableController.tableData.value.data, mockCodeObject.ticksTable, ); } } Future<void> verifyInliningTable(WidgetTester tester) async { expect(find.byType(InliningTable), findsOneWidget); final FlatTableState<InliningEntry> state = tester.state(find.byType(FlatTable<InliningEntry>)); // Check that the profiler columns render ticks correctly. final profilerColumns = state.tableController.columns.where( (c) => c.title == 'Total %' || c.title == 'Self %', ); expect(profilerColumns.length, 2); for (final profilerColumn in profilerColumns) { for (final instr in state.tableController.tableData.value.data) { expect(profilerColumn.getDisplayValue(instr), '0.40% (4)'); } } void verifyAddressOrder( List<InliningEntry> data, CpuProfilerTicksTable? ticks, ) { int lastAddress = 0; for (final inlining in data) { final inliningRange = inlining.addressRange; final begin = inliningRange.begin.toInt(); final end = inliningRange.end.toInt(); expect(begin < end, isTrue); expect(begin > lastAddress, isTrue); lastAddress = end; final tick = ticks!.forRange(begin, end); expect(tick, isNotNull); expect(tick!.inclusiveTicks, 4); expect(tick.exclusiveTicks, 4); } } // Ensure ordering is correct. verifyAddressOrder( state.tableController.tableData.value.data, mockCodeObject.ticksTable, ); final columns = state.widget.columns; // Make sure the table can't be sorted differently. for (final column in columns) { await tester.tap( find.descendant( of: find.byType(InliningTable), matching: find.text(column.title), ), ); await tester.pumpAndSettle(); verifyAddressOrder( state.tableController.tableData.value.data, mockCodeObject.ticksTable, ); } } testWidgetsWithWindowSize( 'displays CodeTable and InliningTable instructions in order of increasing address', windowSize, (WidgetTester tester) async { await tester.pumpWidget( wrapSimple( VmCodeDisplay( code: mockCodeObject, controller: ObjectInspectorViewController(), ), ), ); await verifyCodeTable(tester); await verifyInliningTable(tester); }, ); }); }
devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_code_display_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_code_display_test.dart", "repo_id": "devtools", "token_count": 3447 }
119
<!DOCTYPE html> <html> <head> <title>Dart DevTools - Unsupported Browser</title> <style> body { margin: 50px 30px; font-family: "Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; } </style> </head> <body> <h1>Unsupported Browser</h1> <p>Your browser is not supported by DevTools. Please try using Google Chrome.</p> </body> </html>
devtools/packages/devtools_app/web/unsupported-browser.html/0
{ "file_path": "devtools/packages/devtools_app/web/unsupported-browser.html", "repo_id": "devtools", "token_count": 176 }
120
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_shared/devtools_shared.dart'; /// Flutter version service registered by Flutter Tools. /// /// We call this service to get version information about the Flutter framework, /// the Flutter engine, and the Dart sdk. const flutterVersionService = RegisteredService( service: 'flutterVersion', title: 'Flutter Version', ); final class FlutterVersion extends SemanticVersion { FlutterVersion._({ required this.version, required this.channel, required this.repositoryUrl, required this.frameworkRevision, required this.frameworkCommitDate, required this.engineRevision, required this.dartSdkVersion, }) { final semVer = SemanticVersion.parse(version); major = semVer.major; minor = semVer.minor; patch = semVer.patch; preReleaseMajor = semVer.preReleaseMajor; preReleaseMinor = semVer.preReleaseMinor; } factory FlutterVersion.parse(Map<String, dynamic> json) { return FlutterVersion._( version: json['frameworkVersion'], channel: json['channel'], repositoryUrl: json['repositoryUrl'], frameworkRevision: json['frameworkRevisionShort'], frameworkCommitDate: json['frameworkCommitDate'], engineRevision: json['engineRevisionShort'], dartSdkVersion: _parseDartVersion(json['dartSdkVersion']), ); } factory FlutterVersion.unknown() { return FlutterVersion._( version: null, channel: null, repositoryUrl: null, frameworkRevision: null, frameworkCommitDate: null, engineRevision: null, dartSdkVersion: null, ); } final String? version; final String? channel; final String? repositoryUrl; final String? frameworkRevision; final String? frameworkCommitDate; final String? engineRevision; final SemanticVersion? dartSdkVersion; bool get unknown => version == null && channel == null && repositoryUrl == null && frameworkRevision == null && frameworkCommitDate == null && engineRevision == null && dartSdkVersion == null; @override bool operator ==(Object other) { if (other is! FlutterVersion) return false; return version == other.version && channel == other.channel && repositoryUrl == other.repositoryUrl && frameworkRevision == other.frameworkRevision && frameworkCommitDate == other.frameworkCommitDate && engineRevision == other.engineRevision && dartSdkVersion == other.dartSdkVersion; } @override int get hashCode => Object.hash( version, channel, repositoryUrl, frameworkRevision, frameworkCommitDate, engineRevision, dartSdkVersion, ); static SemanticVersion? _parseDartVersion(String? versionString) { if (versionString == null) return null; // Example Dart version string: "2.15.0 (build 2.15.0-178.1.beta)" const prefix = '(build '; final indexOfPrefix = versionString.indexOf(prefix); String rawVersion; if (indexOfPrefix != -1) { final startIndex = indexOfPrefix + prefix.length; rawVersion = versionString.substring( startIndex, versionString.length - 1, ); } else { rawVersion = versionString; } return SemanticVersion.parse(rawVersion); } }
devtools/packages/devtools_app_shared/lib/src/service/flutter_version.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/lib/src/service/flutter_version.dart", "repo_id": "devtools", "token_count": 1219 }
121
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../utils/globals.dart'; import 'theme/ide_theme.dart'; IdeTheme get ideTheme { final theme = globals[IdeTheme]; if (theme == null) { throw StateError( 'The global [IdeTheme] is not set. Please call ' '`setGlobal(IdeTheme, getIdeTheme())` before you call `runApp`.', ); } return theme as IdeTheme; } double scaleByFontFactor(double original) { return (original * ideTheme.fontSizeFactor).roundToDouble(); }
devtools/packages/devtools_app_shared/lib/src/ui/ui_utils.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/lib/src/ui/ui_utils.dart", "repo_id": "devtools", "token_count": 200 }
122
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:collection/collection.dart'; import 'package:devtools_app_shared/src/ui/flex_split_column.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('FlexSplitColumn', () { // The UI of the FlexSplitColumn widget is well tested in [split_pane_test.dart]. // These tests test the data transformations that take place upon // constructing [FlexSplitColumn]. const children = [SizedBox(), SizedBox(), SizedBox(), SizedBox()]; const firstHeaderKey = Key('first header'); const headers = [ PreferredSize( preferredSize: Size.fromHeight(50), child: SizedBox(height: 50.0, key: firstHeaderKey), ), PreferredSize( preferredSize: Size.fromHeight(50), child: SizedBox(height: 50.0), ), PreferredSize( preferredSize: Size.fromHeight(50), child: SizedBox(height: 50.0), ), PreferredSize( preferredSize: Size.fromHeight(50), child: SizedBox(height: 50.0), ), ]; const initialFractions = [0.25, 0.25, 0.25, 0.25]; const minSizes = [10.0, 10.0, 10.0, 10.0]; const totalHeight = 1200.0; test('modifyInitialFractionsToIncludeFirstHeader', () { final adjustedFractions = FlexSplitColumn.modifyInitialFractionsToIncludeFirstHeader( initialFractions, headers, totalHeight, ); expect( const DeepCollectionEquality().equals( adjustedFractions, [ 0.2857142857142857, 0.23809523809523808, 0.23809523809523808, 0.23809523809523808, ], ), isTrue, ); }); test('modifyMinSizesToIncludeFirstHeader', () { final adjustedFractions = FlexSplitColumn.modifyMinSizesToIncludeFirstHeader( minSizes, headers, ); expect( const DeepCollectionEquality() .equals(adjustedFractions, [60.0, 10.0, 10.0, 10.0]), isTrue, ); }); testWidgets('buildChildrenWithFirstHeader', (WidgetTester tester) async { await tester.pumpWidget(const Column(children: children)); expect(find.byKey(firstHeaderKey), findsNothing); // Wrap each child in a container so we can build the elements in a // arbitrary column to check for [firstHeaderKey]. final adjustedChildren = FlexSplitColumn.buildChildrenWithFirstHeader(children, headers) .map((child) => SizedBox(height: 100.0, child: child)) .toList(); await tester.pumpWidget(Column(children: adjustedChildren)); expect(find.byKey(firstHeaderKey), findsOneWidget); }); }); }
devtools/packages/devtools_app_shared/test/ui/flex_split_column_test.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/test/ui/flex_split_column_test.dart", "repo_id": "devtools", "token_count": 1207 }
123
// Copyright 2024 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:args/command_runner.dart'; import 'package:devtools_shared/devtools_extensions.dart'; import 'package:devtools_shared/devtools_extensions_io.dart'; import 'package:path/path.dart' as path; import 'package:yaml/yaml.dart'; /// Command that validates that a DevTools extension meets the requirements for /// loading successfully in DevTools. /// /// Example usage: /// /// dart run devtools_extensions validate --package=../your_pub_package class ValidateExtensionCommand extends Command { ValidateExtensionCommand() { argParser.addOption( _packageKey, help: 'The location of the package that this extension is published with', abbr: 'p', valueHelp: 'path/to/foo/packages/foo', mandatory: true, ); } static const _packageKey = 'package'; @override String get name => 'validate'; @override String get description => 'Command that validates that a DevTools extension meets the ' 'requirements for loading successfully in DevTools.'; static const docUrl = 'https://docs.flutter.dev/tools/devtools/extensions'; @override Future<void> run() async { final packagePath = argResults?[_packageKey]! as String; try { // TODO(kenz): try to use the the existing pub validator for this check. See // https://github.com/dart-lang/pub/blob/master/lib/src/validator/devtools_extension.dart. _validateDirectoryContents(packagePath); // Try to parse the config.yaml file. This will throw an exception if there // are parsing errors. DevToolsExtensionConfig.parse( { ..._configAsMap(packagePath), // These are generated on the DevTools server, so pass in stubbed // values for the sake of validation. DevToolsExtensionConfig.isPubliclyHostedKey: 'false', DevToolsExtensionConfig.pathKey: '', }, ); // If there are no exceptions at this point, the extension has successfully // been validated. stdout.writeln('Extension validation successful'); } on StateError catch (e) { _logError(e.message); } on FileSystemException catch (e) { _logError(e.message); } catch (e) { _logError(e.toString()); } } } void _validateDirectoryContents(String packagePath) { final packageDirectory = Directory(packagePath); if (!packageDirectory.existsSync()) { throw FileSystemException('${packageDirectory.path} directory not found'); } final devtoolsExtensionDir = Directory( path.join(packageDirectory.path, 'extension', 'devtools'), ); if (!devtoolsExtensionDir.existsSync()) { throw const FileSystemException( ''' An extension/devtools directory is required, but none was found. See ${ValidateExtensionCommand.docUrl}. ''', ); } final buildDir = Directory(path.join(devtoolsExtensionDir.path, 'build')); if (!buildDir.existsSync()) { throw const FileSystemException( ''' An extension/devtools/build directory is required, but none was found. See ${ValidateExtensionCommand.docUrl}. ''', ); } if (buildDir.listSync().isEmpty) { throw const FileSystemException( ''' A non-empty extension/devtools/build directory is required, but the directory is empty. See ${ValidateExtensionCommand.docUrl}. ''', ); } final configFile = _lookupConfigFile(packagePath); if (!configFile.existsSync()) { throw const FileSystemException( ''' An extension/devtools/config.yaml file is required, but none was found. See ${ValidateExtensionCommand.docUrl}. ''', ); } } Map<String, Object?> _configAsMap(String packagePath) { final configFile = _lookupConfigFile(packagePath); // At this point, we know the config.yaml file exists. assert(configFile.existsSync()); final yamlMap = loadYaml(configFile.readAsStringSync()) as YamlMap; return yamlMap.toDartMap(); } File _lookupConfigFile(String packagePath) { return File( path.join(packagePath, 'extension', 'devtools', 'config.yaml'), ); } void _logError(String error) { stderr.writeln('Validation error: $error'); }
devtools/packages/devtools_extensions/bin/_validate.dart/0
{ "file_path": "devtools/packages/devtools_extensions/bin/_validate.dart", "repo_id": "devtools", "token_count": 1440 }
124
name: app_that_uses_foo description: A Flutter app that uses package:foo (which contains a DevTools extension) publish_to: 'none' version: 1.0.0 environment: sdk: '>=3.0.0 <4.0.0' flutter: '>=3.0.0' dependencies: flutter: sdk: flutter dart_foo: path: ../packages_with_extensions/dart_foo/packages/dart_foo foo: path: ../packages_with_extensions/foo/packages/foo dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^2.0.3 test: ^1.25.2 flutter: uses-material-design: true
devtools/packages/devtools_extensions/example/app_that_uses_foo/pubspec.yaml/0
{ "file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/pubspec.yaml", "repo_id": "devtools", "token_count": 222 }
125
name: dart_foo description: "A pure Dart package that provides a DevTools extension" version: 0.0.1 environment: sdk: '>=3.4.0-104.0.dev <4.0.0'
devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/pubspec.yaml/0
{ "file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/pubspec.yaml", "repo_id": "devtools", "token_count": 59 }
126
39cefa5985076931d7760efd7467b506
devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/.last_build_id/0
{ "file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/.last_build_id", "repo_id": "devtools", "token_count": 17 }
127
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_extensions/api.dart'; import 'package:devtools_extensions/devtools_extensions.dart'; import 'package:devtools_extensions/src/template/_simulated_devtools_environment/_simulated_devtools_environment.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:foo_devtools_extension/src/devtools_extension_api_example.dart'; import 'package:integration_test/integration_test.dart'; // To run this test: // dart run integration_test/run_tests.dart --target=integration_test/test/simulated_environment_test.dart const safePumpDuration = Duration(seconds: 3); const longPumpDuration = Duration(seconds: 6); void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); testWidgets('end to end simulated environment', (tester) async { runApp( const DevToolsExtension( requiresRunningApplication: false, child: TestDevToolsExtension(), ), ); await tester.pump(safePumpDuration); expect(find.byType(DevToolsExtension), findsOneWidget); expect(find.byType(TestDevToolsExtension), findsOneWidget); expect(find.byType(SimulatedDevToolsWrapper), findsOneWidget); expect(find.text('Simulated DevTools Environment'), findsOneWidget); final simController = tester .state<SimulatedDevToolsWrapperState>( find.byType(SimulatedDevToolsWrapper), ) .simController; expect(simController.messageLogs.value, isEmpty); logStatus('test ping and pong'); await _testPingPong(tester, simController); logStatus('test registering a custom event handler'); await _testRegisterEventHandler(tester, simController); logStatus('test toggling the theme'); await _testToggleTheme(tester, simController); logStatus('test showing a notification from the extension'); await _testShowNotification(tester, simController); logStatus('test showing a banner message from the extension'); await _testShowBannerMessage(tester, simController); logStatus('test collapsing environment panel'); await _testCollapseEnvironmentPanel(tester, simController); // NOTE: the force reload functionality cannot be tested because it will // make this test run in an infinite loop (it refreshes the whole window // that the integration test is running in). }); } Future<void> _testPingPong( WidgetTester tester, SimulatedDevToolsController simController, ) async { final pingButtonFinder = find.descendant( of: find.byType(DevToolsButton), matching: find.text('PING'), ); await tester.tap(pingButtonFinder); await tester.pumpAndSettle(); expect(find.byType(LogListItem), findsNWidgets(2)); expect(simController.messageLogs.value[0].source.name, 'devtools'); expect(simController.messageLogs.value[0].data!['type'], 'ping'); expect(simController.messageLogs.value[1].source.name, 'extension'); expect(simController.messageLogs.value[1].data!['type'], 'pong'); await _clearLogs(tester, simController); } Future<void> _testRegisterEventHandler( WidgetTester tester, SimulatedDevToolsController simController, ) async { final pingButtonFinder = find.descendant( of: find.byType(DevToolsButton), matching: find.text('PING'), ); // Register a handler and verify it was called. int eventHandlerCalledCount = 0; extensionManager.registerEventHandler( DevToolsExtensionEventType.ping, (event) { eventHandlerCalledCount++; }, ); await tester.tap(pingButtonFinder); await tester.pumpAndSettle(); expect(eventHandlerCalledCount, 1); // Register a different handler and verify it has replaced the original. int secondEventHandlerCalledCount = 0; extensionManager.registerEventHandler( DevToolsExtensionEventType.ping, (event) { secondEventHandlerCalledCount++; }, ); await tester.tap(pingButtonFinder); await tester.pumpAndSettle(); // Verify the original handler was not called and that the new one was called. expect(eventHandlerCalledCount, 1); expect(secondEventHandlerCalledCount, 1); // Unregister the handler and verify it is no longer called. extensionManager.unregisterEventHandler(DevToolsExtensionEventType.ping); await tester.tap(pingButtonFinder); await tester.pumpAndSettle(); expect(eventHandlerCalledCount, 1); expect(secondEventHandlerCalledCount, 1); await _clearLogs(tester, simController); } Future<void> _testToggleTheme( WidgetTester tester, SimulatedDevToolsController simController, ) async { expect(extensionManager.darkThemeEnabled.value, isTrue); final toggleThemeButtonFinder = find.descendant( of: find.byType(DevToolsButton), matching: find.text('TOGGLE THEME'), ); await tester.tap(toggleThemeButtonFinder); await tester.pumpAndSettle(); expect(extensionManager.darkThemeEnabled.value, isFalse); expect(find.byType(LogListItem), findsNWidgets(1)); expect(simController.messageLogs.value[0].source.name, 'devtools'); expect(simController.messageLogs.value[0].data!['type'], 'themeUpdate'); expect( (simController.messageLogs.value[0].data!['data']! as Map)['theme'], 'light', ); await tester.tap(toggleThemeButtonFinder); await tester.pumpAndSettle(); expect(extensionManager.darkThemeEnabled.value, isTrue); expect(find.byType(LogListItem), findsNWidgets(2)); expect(simController.messageLogs.value[1].source.name, 'devtools'); expect(simController.messageLogs.value[1].data!['type'], 'themeUpdate'); expect( (simController.messageLogs.value[1].data!['data']! as Map)['theme'], 'dark', ); await _clearLogs(tester, simController); } Future<void> _testShowNotification( WidgetTester tester, SimulatedDevToolsController simController, ) async { final showNotificationButtonFinder = find.descendant( of: find.byType(ElevatedButton), matching: find.text('Show DevTools notification'), ); await tester.tap(showNotificationButtonFinder); await tester.pumpAndSettle(); expect(find.byType(LogListItem), findsNWidgets(1)); expect(simController.messageLogs.value[0].source.name, 'extension'); expect(simController.messageLogs.value[0].data!['type'], 'showNotification'); await _clearLogs(tester, simController); } Future<void> _testShowBannerMessage( WidgetTester tester, SimulatedDevToolsController simController, ) async { final showWarningButtonFinder = find .descendant( of: find.byType(ElevatedButton), matching: find.textContaining('Show DevTools warning'), ) .first; await tester.tap(showWarningButtonFinder); await tester.pumpAndSettle(); expect(find.byType(LogListItem), findsNWidgets(1)); expect(simController.messageLogs.value[0].source.name, 'extension'); expect(simController.messageLogs.value[0].data!['type'], 'showBannerMessage'); await _clearLogs(tester, simController); } Future<void> _testCollapseEnvironmentPanel( WidgetTester tester, SimulatedDevToolsController simController, ) async { final split = tester.widget<SplitPane>(find.byType(SplitPane)); final divider = find.byKey(split.dividerKey(0)); final environmentPanel = split.children[1]; final environmentPanelSizedBox = find.descendant( of: find.byWidget(environmentPanel), matching: find.byType(SizedBox), ); final double environmentPanelSizedBoxWidth = tester.firstWidget<SizedBox>(environmentPanelSizedBox).width!; // Check that the [environmentPanelSizedBoxWidth] is the expected width. expect( environmentPanelSizedBoxWidth, VmServiceConnectionDisplay.totalControlsWidth + 2 * defaultSpacing, ); // Drag the divider to the right by [environmentPanelSizedBoxWidth]. await tester.drag( divider, Offset( environmentPanelSizedBoxWidth, 0, ), ); await tester.pumpAndSettle(); final Rect simulatedDevToolsWrapperRect = tester.getRect(find.byType(SimulatedDevToolsWrapper)); final Rect environmentPanelRect = tester.getRect(find.byWidget(environmentPanel)); // Verify that the environment panel is off screen to the right of the // simulated devtools wrapper. expect( simulatedDevToolsWrapperRect.right, lessThanOrEqualTo(environmentPanelRect.left.ceil()), ); // Drag the divider to the left by [environmentPanelSizedBoxWidth]. // // This is to bring the 'Clear logs' button into view so it can be tapped. await tester.drag( divider, Offset( -environmentPanelSizedBoxWidth, 0, ), ); await tester.pumpAndSettle(); await _clearLogs(tester, simController); } Future<void> _clearLogs( WidgetTester tester, SimulatedDevToolsController simController, ) async { await tester.tap(find.byTooltip('Clear logs')); await tester.pumpAndSettle(); expect(simController.messageLogs.value, isEmpty); expect(find.byType(LogListItem), findsNothing); } void logStatus(String log) { // ignore: avoid_print, intentional print for test output print('TEST STATUS: $log'); } class TestDevToolsExtension extends StatelessWidget { const TestDevToolsExtension({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: const Text('Test DevTools Extension'), ), body: const Column( mainAxisSize: MainAxisSize.min, children: [ CallingDevToolsExtensionsAPIsExample(), ], ), ); } }
devtools/packages/devtools_extensions/integration_test/test/simulated_environment_test.dart/0
{ "file_path": "devtools/packages/devtools_extensions/integration_test/test/simulated_environment_test.dart", "repo_id": "devtools", "token_count": 3227 }
128
name: devtools_extensions description: A package for building and supporting extensions for Dart DevTools. version: 0.0.15-wip repository: https://github.com/flutter/devtools/tree/master/packages/devtools_extensions environment: sdk: '>=3.3.0-91.0.dev <4.0.0' flutter: '>=3.17.0-0.0.pre' executables: devtools_extensions: devtools_extensions dependencies: args: ^2.4.2 devtools_shared: ^6.0.1 devtools_app_shared: ^0.1.0 flutter: sdk: flutter io: ^1.0.4 path: ^1.8.0 logging: ^1.1.1 vm_service: ^14.1.0 web: ^0.4.1 yaml: ^3.1.2 dev_dependencies: flutter_driver: sdk: flutter flutter_lints: ^2.0.3 flutter_test: sdk: flutter flutter_web_plugins: sdk: flutter integration_test: sdk: flutter foo_devtools_extension: path: example/packages_with_extensions/foo/packages/foo_devtools_extension flutter: uses-material-design: true dependency_overrides: devtools_app_shared: path: ../devtools_app_shared devtools_shared: path: ../devtools_shared
devtools/packages/devtools_extensions/pubspec.yaml/0
{ "file_path": "devtools/packages/devtools_extensions/pubspec.yaml", "repo_id": "devtools", "token_count": 439 }
129
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'dart:io'; import 'package:path/path.dart' as path; import 'usage.dart'; // ignore: avoid_classes_with_only_static_members, requires refactor. class LocalFileSystem { static String _userHomeDir() { final String envKey = Platform.operatingSystem == 'windows' ? 'APPDATA' : 'HOME'; return Platform.environment[envKey] ?? '.'; } /// Returns the path to the DevTools storage directory. static String devToolsDir() { return path.join(_userHomeDir(), '.flutter-devtools'); } /// Moves the .devtools file to ~/.flutter-devtools/.devtools if the .devtools /// file exists in the user's home directory. static void maybeMoveLegacyDevToolsStore() { final file = File(path.join(_userHomeDir(), DevToolsUsage.storeName)); if (file.existsSync()) { ensureDevToolsDirectory(); file.copySync(devToolsStoreLocation()); file.deleteSync(); } } static String devToolsStoreLocation() { return path.join(devToolsDir(), DevToolsUsage.storeName); } /// Creates the ~/.flutter-devtools directory if it does not already exist. static void ensureDevToolsDirectory() { Directory(devToolsDir()).createSync(); } /// Returns a DevTools file from the given path. /// /// Only files within ~/.flutter-devtools/ can be accessed. static File? devToolsFileFromPath(String pathFromDevToolsDir) { if (pathFromDevToolsDir.contains('..')) { // The passed in path should not be able to walk up the directory tree // outside of the ~/.flutter-devtools/ directory. return null; } ensureDevToolsDirectory(); final file = File(path.join(devToolsDir(), pathFromDevToolsDir)); if (!file.existsSync()) { return null; } return file; } /// Returns a DevTools file from the given path as encoded json. /// /// Only files within ~/.flutter-devtools/ can be accessed. static String? devToolsFileAsJson(String pathFromDevToolsDir) { final file = devToolsFileFromPath(pathFromDevToolsDir); if (file == null) return null; final fileName = path.basename(file.path); if (!fileName.endsWith('.json')) return null; final content = file.readAsStringSync(); final json = jsonDecode(content) as Map; json['lastModifiedTime'] = file.lastModifiedSync().toString(); return jsonEncode(json); } /// Whether the flutter store file exists. static bool flutterStoreExists() { final flutterStore = File(path.join(_userHomeDir(), '.flutter')); return flutterStore.existsSync(); } }
devtools/packages/devtools_shared/lib/src/server/file_system.dart/0
{ "file_path": "devtools/packages/devtools_shared/lib/src/server/file_system.dart", "repo_id": "devtools", "token_count": 881 }
130
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. Future<void> waitFor( Future<bool> Function() condition, { Duration timeout = const Duration(seconds: 10), String timeoutMessage = 'condition not satisfied', Duration delay = _shortDelay, }) async { final DateTime end = DateTime.now().add(timeout); while (!end.isBefore(DateTime.now())) { if (await condition()) { return; } await Future.delayed(delay); } throw timeoutMessage; } Future delay({Duration duration = const Duration(milliseconds: 500)}) { return Future.delayed(duration); } Future shortDelay() { return delay(duration: _shortDelay); } const _shortDelay = Duration(milliseconds: 100);
devtools/packages/devtools_shared/lib/src/test/test_utils.dart/0
{ "file_path": "devtools/packages/devtools_shared/lib/src/test/test_utils.dart", "repo_id": "devtools", "token_count": 246 }
131
// Copyright 2024 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_shared/devtools_shared.dart'; import 'package:test/test.dart'; void main() { group('file uri helpers', () { test('rootFromFileUriString', () { // Dart file under 'lib' expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/lib/main.dart', ), equals('file:///Users/me/foo/my_app_root'), ); expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/lib/sub/main.dart', ), equals('file:///Users/me/foo/my_app_root'), ); // Dart file under 'bin' expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/bin/script.dart', ), equals('file:///Users/me/foo/my_app_root'), ); expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/bin/sub/script.dart', ), equals('file:///Users/me/foo/my_app_root'), ); // Dart file under 'test' expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/test/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/test/sub/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); // Dart file under 'integration_test' expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/integration_test/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/integration_test/sub/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); // Dart file under 'benchmark' expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/benchmark/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); expect( packageRootFromFileUriString( 'file:///Users/me/foo/my_app_root/benchmark/sub/some_test.dart', ), equals('file:///Users/me/foo/my_app_root'), ); }); }); }
devtools/packages/devtools_shared/test/utils/file_utils_test.dart/0
{ "file_path": "devtools/packages/devtools_shared/test/utils/file_utils_test.dart", "repo_id": "devtools", "token_count": 1193 }
132
name: devtools_test description: A package containing shared test helpers for Dart DevTools tests. publish_to: none # Note: this version should only be updated by running tools/update_version.dart # that updates all versions of packages from packages/devtools. # When publishing new versions of this package be sure to publish a new version # of package:devtools as well. package:devtools contains a compiled snapshot of # this package. version: 2.34.0-dev.12 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_test environment: sdk: '>=3.3.0-91.0.dev <4.0.0' flutter: '>=3.17.0-0.0.pre' dependencies: async: ^2.0.0 collection: ^1.15.0 devtools_shared: ^6.0.1 devtools_app: 2.34.0-dev.12 devtools_app_shared: path: ../devtools_app_shared flutter: sdk: flutter flutter_test: sdk: flutter integration_test: sdk: flutter meta: ^1.9.1 mockito: ^5.4.1 path: ^1.8.0 provider: ^6.0.2 vm_service: ^14.1.0 webkit_inspection_protocol: '>=0.5.0 <2.0.0' dependency_overrides: devtools_app: path: ../devtools_app devtools_app_shared: path: ../devtools_app_shared devtools_extensions: path: ../devtools_extensions devtools_shared: path: ../devtools_shared dev_dependencies: build_runner: ^2.3.3 flutter_lints: ^2.0.3
devtools/packages/devtools_test/pubspec.yaml/0
{ "file_path": "devtools/packages/devtools_test/pubspec.yaml", "repo_id": "devtools", "token_count": 519 }
133
include: package:flutter_lints/flutter.yaml
devtools/third_party/packages/widget_icons/analysis_options.yaml/0
{ "file_path": "devtools/third_party/packages/widget_icons/analysis_options.yaml", "repo_id": "devtools", "token_count": 16 }
134
@echo off IF DEFINED DEVTOOLS_TOOL_FLUTTER_FROM_PATH ( echo Running devtools_tool using Dart/Flutter from PATH because DEVTOOLS_TOOL_FLUTTER_FROM_PATH is set dart run %~dp0/devtools_tool.dart %* ) ELSE ( rem If the `devtools/tool/flutter-sdk` directory does not exist yet, use whatever Dart rem is on the user's path to update it before proceeding. IF NOT EXIST "%~dp0/../flutter-sdk/" ( echo Running devtools_tool using the Dart SDK from `where.exe dart` to create the Flutter SDK in tool/flutter-sdk. dart run %~dp0/devtools_tool.dart update-flutter-sdk ) %~dp0/../flutter-sdk/bin/dart run %~dp0/devtools_tool.dart %* ) EXIT /B %errorlevel%
devtools/tool/bin/devtools_tool.bat/0
{ "file_path": "devtools/tool/bin/devtools_tool.bat", "repo_id": "devtools", "token_count": 257 }
135
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:args/command_runner.dart'; import 'package:cli_util/cli_logging.dart'; import 'package:io/io.dart'; import '../model.dart'; import '../utils.dart'; const _fatalInfosArg = 'fatal-infos'; class AnalyzeCommand extends Command { AnalyzeCommand() { argParser.addFlag( 'fatal-infos', help: 'Sets the "fatal-infos" flag for the dart analyze command', defaultsTo: true, negatable: true, ); } @override String get name => 'analyze'; @override String get description => 'Analyze all DevTools packages.'; @override Future run() async { final log = Logger.standard(); final repo = DevToolsRepo.getInstance(); final processManager = ProcessManager(); final packages = repo.getPackages(); final fatalInfos = argResults![_fatalInfosArg] as bool; log.stdout('Running flutter analyze...'); int failureCount = 0; for (Package p in packages) { if (!p.hasAnyDartCode) { continue; } final progress = log.progress(' ${p.relativePath}'); final process = await processManager.runProcess( CliCommand.dart( ['analyze', if (fatalInfos) '--fatal-infos'], // Run all so we can see the full set of results instead of stopping // on the first error. throwOnException: false, ), workingDirectory: p.packagePath, ); if (process.exitCode == 0) { progress.finish(showTiming: true); } else { failureCount++; progress.finish(message: 'failed'); } } return failureCount == 0 ? 0 : 1; } }
devtools/tool/lib/commands/analyze.dart/0
{ "file_path": "devtools/tool/lib/commands/analyze.dart", "repo_id": "devtools", "token_count": 692 }
136
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:args/command_runner.dart'; import '../utils.dart'; // This script must be executed from the top level devtools/ directory. // TODO(kenz): If changes are made to this script, first consider refactoring to // use https://github.com/dart-lang/pubspec_parse. // `package:devtools_app_shared`, `package:devtools_extensions` and // `package:devtools_shared` have their own versioning strategies. Do not // include those packages in the list here. final _pubspecs = [ 'packages/devtools_app/pubspec.yaml', 'packages/devtools_test/pubspec.yaml', ].map((p) => File(pathFromRepoRoot(p))).toList(); final _releaseNoteDirPath = pathFromRepoRoot('packages/devtools_app/release_notes'); class UpdateDevToolsVersionCommand extends Command { UpdateDevToolsVersionCommand() { addSubcommand(ManualUpdateCommand()); addSubcommand(AutoUpdateCommand()); addSubcommand(CurrentVersionCommand()); } @override String get name => 'update-version'; @override String get description => 'Updates the main DevTools version and any packages that are versioned ' 'in lock-step.'; } Future<void> performTheVersionUpdate({ required String currentVersion, required String newVersion, }) async { print('Updating pubspecs from $currentVersion to version $newVersion...'); for (final pubspec in _pubspecs) { writeVersionToPubspec(pubspec, newVersion); } print('Updating devtools.dart to version $newVersion...'); writeVersionToVersionFile( File(pathFromRepoRoot('packages/devtools_app/lib/devtools.dart')), newVersion, ); } Future<void> resetReleaseNotes({ required String version, }) async { print('Resetting the release notes'); // Clear out the current notes final imagesDir = Directory('$_releaseNoteDirPath/images'); if (imagesDir.existsSync()) { await imagesDir.delete(recursive: true); } await imagesDir.create(); await File('$_releaseNoteDirPath/images/.gitkeep').create(); final currentReleaseNotesFile = File('$_releaseNoteDirPath/NEXT_RELEASE_NOTES.md'); if (currentReleaseNotesFile.existsSync()) { await currentReleaseNotesFile.delete(); } // Normalize the version number so that it onl final semVerMatch = RegExp(r'^(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)') .firstMatch(version); if (semVerMatch == null) { throw 'Version format is unexpected'; } var major = int.parse(semVerMatch.namedGroup('major')!, radix: 10); var minor = int.parse(semVerMatch.namedGroup('minor')!, radix: 10); final normalizedVersionNumber = '$major.$minor.0'; final templateFile = File('$_releaseNoteDirPath/helpers/release_notes_template.md'); final templateFileContents = await templateFile.readAsString(); await currentReleaseNotesFile.writeAsString( templateFileContents.replaceAll( RegExp(r'<number>'), normalizedVersionNumber, ), ); } String? incrementVersionByType(String version, String type) { final semVerMatch = RegExp(r'^(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)') .firstMatch(version); if (semVerMatch == null) { throw 'Version format is unexpected'; } var major = int.parse(semVerMatch.namedGroup('major')!, radix: 10); var minor = int.parse(semVerMatch.namedGroup('minor')!, radix: 10); var patch = int.parse(semVerMatch.namedGroup('patch')!, radix: 10); switch (type) { case 'major': major++; minor = 0; patch = 0; break; case 'minor': minor++; patch = 0; break; case 'patch': patch++; break; default: return null; } return '$major.$minor.$patch'; } String? versionFromPubspecFile() { final pubspec = _pubspecs.first; final lines = pubspec.readAsLinesSync(); for (final line in lines) { if (line.startsWith(pubspecVersionPrefix)) { return line.substring(pubspecVersionPrefix.length).trim(); } } return null; } void writeVersionToPubspec(File pubspec, String version) { final lines = pubspec.readAsLinesSync(); final revisedLines = <String>[]; String? currentSection = ''; final sectionRegExp = RegExp('([a-z]|_)+:'); for (var line in lines) { if (line.startsWith(sectionRegExp)) { // This is a top level section of the pubspec. currentSection = sectionRegExp.firstMatch(line)![0]; } if (editablePubspecSections.contains(currentSection)) { if (line.startsWith(pubspecVersionPrefix)) { line = [ line.substring( 0, line.indexOf(pubspecVersionPrefix) + pubspecVersionPrefix.length, ), ' $version', ].join(); } else { for (final prefix in devToolsDependencyPrefixes) { if (line.contains(prefix)) { line = [ line.substring(0, line.indexOf(prefix) + prefix.length), version, ].join(); break; } } } } revisedLines.add(line); } final content = revisedLines.joinWithNewLine(); pubspec.writeAsStringSync(content); } void writeVersionToVersionFile(File versionFile, String version) { const prefix = 'const String version = '; final lines = versionFile.readAsLinesSync(); final revisedLines = <String>[]; for (var line in lines) { if (line.startsWith(prefix)) { line = [prefix, '\'$version\';'].join(); } revisedLines.add(line); } versionFile.writeAsStringSync(revisedLines.joinWithNewLine()); } String incrementDevVersion(String currentVersion) { final alreadyHasDevVersion = isDevVersion(currentVersion); if (alreadyHasDevVersion) { final devVerMatch = RegExp( r'^(?<prefix>\d+\.\d+\.\d+.*-dev\.)(?<devVersion>\d+)(?<suffix>.*)$', ).firstMatch(currentVersion); if (devVerMatch == null) { throw 'Invalid version, could not increment dev version'; } else { final prefix = devVerMatch.namedGroup('prefix')!; final devVersion = devVerMatch.namedGroup('devVersion')!; final suffix = devVerMatch.namedGroup('suffix')!; final bumpedDevVersion = int.parse(devVersion, radix: 10) + 1; final newVersion = '$prefix$bumpedDevVersion$suffix'; return newVersion; } } else { return '$currentVersion-dev.0'; } } String stripPreReleases(String currentVersion) { final devVerMatch = RegExp(r'^(?<semver>\d+\.\d+\.\d+).*$').firstMatch(currentVersion); if (devVerMatch == null) { throw 'Could not strip pre-releases from version: $currentVersion'; } else { return devVerMatch.namedGroup('semver')!; } } bool isDevVersion(String version) { return RegExp(r'-dev\.\d+').hasMatch(version); } const pubspecVersionPrefix = 'version:'; const editablePubspecSections = [ pubspecVersionPrefix, 'dependencies:', 'dev_dependencies:', ]; const devToolsDependencyPrefixes = [ 'devtools_app: ', 'devtools_test: ', ]; class ManualUpdateCommand extends Command { ManualUpdateCommand() { argParser ..addOption( 'new-version', abbr: 'n', mandatory: true, help: 'The new version code that devtools will be set to.', ) ..addOption( 'current-version', abbr: 'c', help: '''The current devtools version, this should be set to the version inside the index.html. This is only necessary to set this if automatic detection is failing.''', ); } @override final name = 'manual'; @override final description = 'Manually update devtools to a new version.'; @override Future<void> run() async { final newVersion = argResults!['new-version'] as String; final currentVersion = (argResults!['current-version'] as String?) ?? versionFromPubspecFile(); if (currentVersion == null) { throw 'Could not determine the version, please set the current-version or determine why getting the version is failing.'; } await performTheVersionUpdate( currentVersion: currentVersion, newVersion: newVersion, ); } } class CurrentVersionCommand extends Command { @override final name = 'current-version'; @override final description = 'Print the current devtools_app version.'; @override void run() async { print(versionFromPubspecFile()); } } class AutoUpdateCommand extends Command { AutoUpdateCommand() { argParser ..addOption( 'type', abbr: 't', allowed: ['release', 'dev', 'patch', 'minor', 'major'], allowedHelp: { 'release': [ 'strips any pre-release versions from the version.', 'Examples:', '\t1.2.3 => 1.2.3', '\t1.2.3-dev.4 => 1.2.3', ].join('\n'), 'dev': [ 'bumps the version to the next dev pre-release value (minor by default).', 'Examples:', '\t1.2.3 => 1.2.3-dev.0', '\t1.2.3-dev.4 => 1.2.3-dev.5', ].join('\n'), 'patch': [ 'bumps the version to the next patch value.', 'Examples:', '\t1.2.3 => 1.2.4', '\t1.2.3-dev.4 => 1.2.4', ].join('\n'), 'minor': [ 'bumps the version to the next minor value.', 'Examples:', '\t1.2.3 => 1.3.0', '\t1.2.3-dev.4 => 1.3.0', ].join('\n'), 'major': [ 'bumps the version to the next major value.', 'Examples:', '\t1.2.3 => 2.0.0', '\t1.2.3-dev.4 => 2.0.0', ].join('\n'), }, mandatory: true, help: 'Bumps the devtools version by the selected type.', ) ..addFlag( 'dry-run', abbr: 'd', defaultsTo: false, help: 'Displays the version change that would happen, without performing ' 'it.', ); } @override final name = 'auto'; @override final description = 'Automatically update devtools to a new version.'; @override Future<void> run() async { final type = argResults!['type'] as String; final isDryRun = argResults!['dry-run'] as bool; final currentVersion = versionFromPubspecFile(); String? newVersion; if (currentVersion == null) { throw 'Could not automatically determine current version.'; } switch (type) { case 'release': newVersion = stripPreReleases(currentVersion); break; case 'dev': newVersion = incrementDevVersion(currentVersion); break; default: newVersion = incrementVersionByType(currentVersion, type); if (newVersion == null) { throw 'Failed to determine the newVersion.'; } } print('Bump version from $currentVersion to $newVersion'); if (isDryRun) { return; } await performTheVersionUpdate( currentVersion: currentVersion, newVersion: newVersion, ); if (['minor', 'major'].contains(type)) { // Only cycle the release notes when doing a minor or major version bump await resetReleaseNotes( version: newVersion, ); } } }
devtools/tool/lib/commands/update_version.dart/0
{ "file_path": "devtools/tool/lib/commands/update_version.dart", "repo_id": "devtools", "token_count": 4482 }
137
# 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. import("//build/toolchain/clang.gni") import("//flutter/common/config.gni") import("//flutter/examples/examples.gni") import("//flutter/shell/platform/config.gni") import("//flutter/shell/platform/glfw/config.gni") import("//flutter/testing/testing.gni") import("$dart_src/build/dart/copy_tree.gni") # Whether to build the dartdevc sdk, libraries, and source files # required for the flutter web sdk. # TODO(jacksongardner): remove this poorly named argument once the recipes stop # using it. https://github.com/flutter/flutter/issues/113303 declare_args() { full_dart_sdk = false } config("config") { include_dirs = [ "..", ".", ] cflags = [] if (is_win) { if (current_cpu != "x86") { cflags += [ "/WX" ] # Treat warnings as errors. } } if (is_clang) { cflags += [ "-Wunreachable-code" ] } } config("export_dynamic_symbols") { # --dynamic-list is the GNU linker syntax supported by ELF linkers. # -exported_symbols_list is the macOS linker syntax. The different flags # accept files formatted differently, so we have exported_symbols.sym for GNU # linker syntax, and exported_symbols_mac.sym for the macOS linker syntax. if (is_linux || is_fuchsia) { inputs = [ "//flutter/common/exported_symbols.sym" ] ldflags = [ "-Wl,--dynamic-list=" + rebase_path(inputs[0], root_build_dir) ] } else if (is_mac) { inputs = [ "//flutter/common/exported_symbols_mac.sym" ] ldflags = [ "-Xlinker", "-exported_symbols_list", "-Xlinker", rebase_path(inputs[0], root_build_dir), ] } } config("export_dynamic_test_symbols") { # See comment in :export_dynamic_symbols. # This config exposes an additional symbol meant for flutter_tester. if (is_linux || is_fuchsia) { inputs = [ "//flutter/common/exported_test_symbols.sym" ] ldflags = [ "-Wl,--dynamic-list=" + rebase_path(inputs[0], root_build_dir) ] } else if (is_mac) { inputs = [ "//flutter/common/exported_test_symbols_mac.sym" ] ldflags = [ "-Xlinker", "-exported_symbols_list", "-Xlinker", rebase_path(inputs[0], root_build_dir), ] } } group("flutter") { testonly = true # Compile the engine. public_deps = [ ":unittests", "//flutter/shell/platform/embedder:flutter_engine", "//flutter/sky", ] # Ensure the example for a sample embedder compiles. if (build_embedder_examples) { public_deps += [ "//flutter/examples/glfw", "//flutter/examples/vulkan_glfw", ] if (!is_mac) { public_deps += [ "//flutter/examples/glfw_drm" ] } } # If enabled, compile the SDK / snapshot. if (!is_fuchsia) { public_deps += [ "//flutter/lib/snapshot:generate_snapshot_bins" ] if (build_engine_artifacts) { public_deps += [ "//flutter/build/dart:dart_sdk", "//flutter/flutter_frontend_server:frontend_server", # This must be listed explicitly for desktop cross-builds since # //flutter/lib/snapshot:generate_snapshot_bin will only build # gen_snapshot for the host and not the target. "$dart_src/runtime/bin:gen_snapshot", # Impeller artifacts - compiler and libtessellator "//flutter/impeller/compiler:impellerc", "//flutter/impeller/tessellator:tessellator_shared", # path_ops "//flutter/tools/path_ops", ] if (host_os == "linux") { public_deps += [ # Built alongside gen_snapshot for 64 bit targets "$dart_src/runtime/bin:analyze_snapshot", ] } if (full_dart_sdk) { public_deps += [ "//flutter/web_sdk" ] } } } if (build_engine_artifacts) { public_deps += [ "//flutter/shell/testing", "//flutter/tools/const_finder", "//flutter/tools/font_subset", ] } # Compile all benchmark targets if enabled. if (enable_unittests && !is_win && !is_fuchsia) { public_deps += [ "//flutter/display_list:display_list_benchmarks", "//flutter/display_list:display_list_builder_benchmarks", "//flutter/display_list:display_list_region_benchmarks", "//flutter/display_list:display_list_transform_benchmarks", "//flutter/fml:fml_benchmarks", "//flutter/impeller/aiks:canvas_benchmarks", "//flutter/impeller/geometry:geometry_benchmarks", "//flutter/lib/ui:ui_benchmarks", "//flutter/shell/common:shell_benchmarks", "//flutter/third_party/txt:txt_benchmarks", ] } if ((flutter_runtime_mode == "debug" || flutter_runtime_mode == "profile") && (is_ios || is_android)) { public_deps += [ "//flutter/testing/scenario_app" ] } if (is_android && flutter_runtime_mode == "profile" && current_cpu == "arm64") { public_deps += [ "//flutter/testing/android_background_image" ] } } group("unittests") { testonly = true public_deps = [] if (is_android) { public_deps += [ "//flutter/impeller/toolkit/android:apk_unittests", "//flutter/impeller/toolkit/android:unittests", "//flutter/shell/platform/android:flutter_shell_native_unittests", ] } if (is_ios) { public_deps += [ "//flutter/shell/platform/darwin/ios:ios_test_flutter" ] } # Compile all unittests targets if enabled. if (enable_unittests) { public_deps += [ "//flutter/display_list:display_list_rendertests", "//flutter/display_list:display_list_unittests", "//flutter/flow:flow_unittests", "//flutter/fml:fml_arc_unittests", "//flutter/fml:fml_unittests", "//flutter/lib/ui:ui_unittests", "//flutter/runtime:dart_plugin_registrant_unittests", "//flutter/runtime:no_dart_plugin_registrant_unittests", "//flutter/runtime:runtime_unittests", "//flutter/shell/common:shell_unittests", "//flutter/shell/platform/embedder:embedder_a11y_unittests", "//flutter/shell/platform/embedder:embedder_proctable_unittests", "//flutter/shell/platform/embedder:embedder_unittests", "//flutter/testing:testing_unittests", "//flutter/testing/dart", "//flutter/testing/smoke_test_failure", "//flutter/third_party/tonic/tests:tonic_unittests", "//flutter/third_party/txt:txt_unittests", ] # The accessibility library only supports Mac and Windows at the moment. if (is_mac || is_win) { public_deps += [ "//flutter/third_party/accessibility:accessibility_unittests" ] } if (is_fuchsia) { public_deps += [ "//flutter/shell/platform/fuchsia:tests" ] } if (is_mac || is_linux || is_win) { public_deps += [ "//flutter/impeller:impeller_dart_unittests", "//flutter/impeller:impeller_unittests", ] } if (is_mac) { public_deps += [ "//flutter/impeller/golden_tests:impeller_golden_tests", "//flutter/shell/gpu:gpu_surface_metal_unittests", "//flutter/shell/platform/darwin/common:availability_version_check_unittests", "//flutter/shell/platform/darwin/common:framework_common_unittests", "//flutter/third_party/spring_animation:spring_animation_unittests", ] } if (!is_win && !is_fuchsia) { public_deps += [ "//flutter/shell/platform/android/external_view_embedder:android_external_view_embedder_unittests", "//flutter/shell/platform/android/jni:jni_unittests", "//flutter/shell/platform/android/platform_view_android_delegate:platform_view_android_delegate_unittests", ] } # Unit tests for desktop embeddings should only be built if the desktop # embeddings are being built. if (enable_desktop_embeddings) { public_deps += [ "//flutter/shell/platform/common:common_cpp_core_unittests", "//flutter/shell/platform/common/client_wrapper:client_wrapper_unittests", ] if (!is_fuchsia) { # These tests require the embedder and thus cannot run on fuchsia. # TODO(): Enable when embedder works on fuchsia. public_deps += [ "//flutter/shell/platform/common:common_cpp_unittests" ] # These tests require GLFW and thus cannot run on fuchsia. public_deps += [ "//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests" ] } if (is_linux) { public_deps += [ "//flutter/shell/platform/linux:flutter_linux_unittests" ] if (build_glfw_shell) { public_deps += [ "//flutter/shell/platform/glfw:flutter_glfw_unittests" ] } } if (is_mac) { public_deps += [ "//flutter/shell/platform/darwin/macos:flutter_desktop_darwin_unittests" ] } if (is_win) { public_deps += [ "//flutter/shell/platform/windows:flutter_windows_unittests", "//flutter/shell/platform/windows/client_wrapper:client_wrapper_windows_unittests", ] } } } } if (build_engine_artifacts) { group("archives") { testonly = true deps = [ "//flutter/build/archives:artifacts" ] } } group("dist") { testonly = true deps = [ "//flutter/sky/dist" ] } if (is_fuchsia && enable_unittests) { group("fuchsia_tests") { testonly = true deps = [ "//flutter/shell/platform/fuchsia:tests" ] } } # On Windows, when targeting Android, we only build gen_snapshot. This # top-level target provides a convenient shorthand for the full path into the # Dart tree, and is less ambiguous than specifying the binary to build since # we can specify the toolchain to use, too. if (host_os == "win") { _gen_snapshot_target = "$dart_src/runtime/bin:gen_snapshot($host_toolchain)" copy("gen_snapshot") { deps = [ _gen_snapshot_target ] gen_snapshot_out_dir = get_label_info(_gen_snapshot_target, "root_out_dir") sources = [ "$gen_snapshot_out_dir/gen_snapshot.exe" ] outputs = [ "$root_build_dir/gen_snapshot/gen_snapshot.exe" ] } }
engine/BUILD.gn/0
{ "file_path": "engine/BUILD.gn", "repo_id": "engine", "token_count": 4257 }
138
// 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. #ifndef FLUTTER_BENCHMARKING_BENCHMARKING_H_ #define FLUTTER_BENCHMARKING_BENCHMARKING_H_ #include "benchmark/benchmark.h" namespace benchmarking { class ScopedPauseTiming { public: explicit ScopedPauseTiming(::benchmark::State& state, bool enabled = true) : state_(state), enabled_(enabled) { if (enabled_) { state_.PauseTiming(); } } ~ScopedPauseTiming() { if (enabled_) { state_.ResumeTiming(); } } private: ::benchmark::State& state_; const bool enabled_; }; } // namespace benchmarking #endif // FLUTTER_BENCHMARKING_BENCHMARKING_H_
engine/benchmarking/benchmarking.h/0
{ "file_path": "engine/benchmarking/benchmarking.h", "repo_id": "engine", "token_count": 288 }
139
#!/usr/bin/env python3 # # 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. """Get the Git HEAD revision of a specified Git repository.""" import sys import subprocess import os import argparse def is_windows(): os_id = sys.platform return os_id.startswith('win32') or os_id.startswith('cygwin') def get_repository_version(repository): 'Returns the Git HEAD for the supplied repository path as a string.' if not os.path.exists(repository): raise IOError('path does not exist') git = 'git' if is_windows(): git = 'git.bat' version = subprocess.check_output([ git, '-C', repository, 'rev-parse', 'HEAD', ]) return str(version.strip(), 'utf-8') def main(): parser = argparse.ArgumentParser() parser.add_argument( '--repository', action='store', help='Path to the Git repository.', required=True ) args = parser.parse_args() repository = os.path.abspath(args.repository) version = get_repository_version(repository) print(version.strip()) return 0 if __name__ == '__main__': sys.exit(main())
engine/build/git_revision.py/0
{ "file_path": "engine/build/git_revision.py", "repo_id": "engine", "token_count": 415 }
140
# Copyright 2021 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(flutter/flutter#85356): This file was originally generated by the # fuchsia.git script: `package_importer.py`. The generated `BUILD.gn` files were # copied to the flutter repo to support `dart_library` targets used for # Flutter-Fuchsia integration tests. This file can be maintained by hand, but it # would be better to implement a script for Flutter, to either generate these # BUILD.gn files or dynamically generate the GN targets. import("//flutter/tools/fuchsia/dart/dart_library.gni") dart_library("collection") { package_name = "collection" language_version = "2.12" deps = [] sources = [ "algorithms.dart", "collection.dart", "equality.dart", "iterable_zip.dart", "priority_queue.dart", "src/algorithms.dart", "src/canonicalized_map.dart", "src/combined_wrappers/combined_iterable.dart", "src/combined_wrappers/combined_iterator.dart", "src/combined_wrappers/combined_list.dart", "src/combined_wrappers/combined_map.dart", "src/comparators.dart", "src/empty_unmodifiable_set.dart", "src/equality.dart", "src/equality_map.dart", "src/equality_set.dart", "src/functions.dart", "src/iterable_extensions.dart", "src/iterable_zip.dart", "src/list_extensions.dart", "src/priority_queue.dart", "src/queue_list.dart", "src/union_set.dart", "src/union_set_controller.dart", "src/unmodifiable_wrappers.dart", "src/utils.dart", "src/wrappers.dart", "wrappers.dart", ] }
engine/build/secondary/third_party/dart/third_party/pkg/collection/BUILD.gn/0
{ "file_path": "engine/build/secondary/third_party/dart/third_party/pkg/collection/BUILD.gn", "repo_id": "engine", "token_count": 646 }
141
# 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. source_root = "//flutter/third_party/libtess2" source_set("libtess2") { public = [ "$source_root/Include/tesselator.h" ] include_dirs = [ "$source_root/Include/" ] configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] sources = [ "$source_root/Source/bucketalloc.c", "$source_root/Source/bucketalloc.h", "$source_root/Source/dict.c", "$source_root/Source/dict.h", "$source_root/Source/geom.c", "$source_root/Source/geom.h", "$source_root/Source/mesh.c", "$source_root/Source/mesh.h", "$source_root/Source/priorityq.c", "$source_root/Source/priorityq.h", "$source_root/Source/sweep.c", "$source_root/Source/sweep.h", "$source_root/Source/tess.c", "$source_root/Source/tess.h", ] }
engine/build/secondary/third_party/libtess2/BUILD.gn/0
{ "file_path": "engine/build/secondary/third_party/libtess2/BUILD.gn", "repo_id": "engine", "token_count": 388 }
142
# 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. import("//build_overrides/vulkan_validation_layers.gni") _checkout_dir = "//flutter/third_party/vulkan-deps/vulkan-validation-layers/src" vulkan_undefine_configs = [] if (is_win) { vulkan_undefine_configs += [ "//build/config/win:unicode" ] } vulkan_gen_dir = "$target_gen_dir/$vulkan_gen_subdir" raw_vulkan_gen_dir = rebase_path(vulkan_gen_dir, root_build_dir) vulkan_data_dir = "$root_out_dir/$vulkan_data_subdir" raw_vulkan_data_dir = rebase_path(vulkan_data_dir, root_build_dir) raw_root_out_dir = rebase_path(root_out_dir, root_build_dir) # This special action is needed to remove old VVL objects that are now renamed. action("vulkan_clean_old_validation_layer_objects") { script = "$_checkout_dir/scripts/gn/remove_files.py" # inputs is a (random) new file since the vvl roll, used to ensure the cleanup is done only once inputs = [ "$_checkout_dir/layers/gpu_validation/gpu_validation.cpp" ] outputs = [ "$vulkan_gen_dir/old_vvl_files_are_removed" ] args = [ "$raw_vulkan_gen_dir/old_vvl_files_are_removed", "$raw_root_out_dir/libVkLayer*", "$raw_root_out_dir/VkLayer*", "$raw_vulkan_data_dir/VkLayer*.json", ] } config("generated_layers_config") { if (is_clang) { cflags = [ "-Wno-conversion", "-Wno-deprecated-copy", "-Wno-extra-semi", "-Wno-implicit-fallthrough", "-Wno-missing-field-initializers", "-Wno-newline-eof", "-Wno-sign-compare", "-Wno-unused-const-variable", ] } } config("vulkan_internal_config") { defines = [ "VK_ENABLE_BETA_EXTENSIONS" ] cflags = [] if (is_clang || !is_win) { cflags += [ "-Wno-unused-function" ] } if (is_clang && is_mac) { cflags += [ "-Wno-unguarded-availability-new" ] } # Suppress warnings the vulkan code doesn't comply with. if (is_fuchsia) { configs = [ "//build/config:Wno-unused-but-set-variable" ] } if (is_clang) { cflags += [ "-Wno-extra-semi" ] } } # The validation layers # --------------------- config("vulkan_layer_config") { include_dirs = [ "$_checkout_dir/layers", "$_checkout_dir/layers/external", "$_checkout_dir/layers/vulkan", ] if (is_clang) { cflags = [ "-Wno-extra-semi" ] } } vvl_sources = [ "$_checkout_dir/layers/best_practices/best_practices_error_enums.h", "$_checkout_dir/layers/best_practices/best_practices_utils.cpp", "$_checkout_dir/layers/best_practices/best_practices_validation.h", "$_checkout_dir/layers/best_practices/bp_buffer.cpp", "$_checkout_dir/layers/best_practices/bp_cmd_buffer.cpp", "$_checkout_dir/layers/best_practices/bp_cmd_buffer_nv.cpp", "$_checkout_dir/layers/best_practices/bp_copy_blit_resolve.cpp", "$_checkout_dir/layers/best_practices/bp_descriptor.cpp", "$_checkout_dir/layers/best_practices/bp_device_memory.cpp", "$_checkout_dir/layers/best_practices/bp_drawdispatch.cpp", "$_checkout_dir/layers/best_practices/bp_framebuffer.cpp", "$_checkout_dir/layers/best_practices/bp_image.cpp", "$_checkout_dir/layers/best_practices/bp_instance_device.cpp", "$_checkout_dir/layers/best_practices/bp_pipeline.cpp", "$_checkout_dir/layers/best_practices/bp_ray_tracing.cpp", "$_checkout_dir/layers/best_practices/bp_render_pass.cpp", "$_checkout_dir/layers/best_practices/bp_synchronization.cpp", "$_checkout_dir/layers/best_practices/bp_video.cpp", "$_checkout_dir/layers/best_practices/bp_wsi.cpp", "$_checkout_dir/layers/containers/qfo_transfer.h", "$_checkout_dir/layers/containers/range_vector.h", "$_checkout_dir/layers/containers/subresource_adapter.cpp", "$_checkout_dir/layers/containers/subresource_adapter.h", "$_checkout_dir/layers/core_checks/cc_android.cpp", "$_checkout_dir/layers/core_checks/cc_buffer.cpp", "$_checkout_dir/layers/core_checks/cc_buffer_address.h", "$_checkout_dir/layers/core_checks/cc_cmd_buffer.cpp", "$_checkout_dir/layers/core_checks/cc_cmd_buffer_dynamic.cpp", "$_checkout_dir/layers/core_checks/cc_copy_blit_resolve.cpp", "$_checkout_dir/layers/core_checks/cc_descriptor.cpp", "$_checkout_dir/layers/core_checks/cc_device.cpp", "$_checkout_dir/layers/core_checks/cc_device_memory.cpp", "$_checkout_dir/layers/core_checks/cc_drawdispatch.cpp", "$_checkout_dir/layers/core_checks/cc_external_object.cpp", "$_checkout_dir/layers/core_checks/cc_image.cpp", "$_checkout_dir/layers/core_checks/cc_image_layout.cpp", "$_checkout_dir/layers/core_checks/cc_pipeline.cpp", "$_checkout_dir/layers/core_checks/cc_pipeline_compute.cpp", "$_checkout_dir/layers/core_checks/cc_pipeline_graphics.cpp", "$_checkout_dir/layers/core_checks/cc_pipeline_ray_tracing.cpp", "$_checkout_dir/layers/core_checks/cc_query.cpp", "$_checkout_dir/layers/core_checks/cc_queue.cpp", "$_checkout_dir/layers/core_checks/cc_ray_tracing.cpp", "$_checkout_dir/layers/core_checks/cc_render_pass.cpp", "$_checkout_dir/layers/core_checks/cc_shader_interface.cpp", "$_checkout_dir/layers/core_checks/cc_shader_object.cpp", "$_checkout_dir/layers/core_checks/cc_spirv.cpp", "$_checkout_dir/layers/core_checks/cc_synchronization.cpp", "$_checkout_dir/layers/core_checks/cc_video.cpp", "$_checkout_dir/layers/core_checks/cc_wsi.cpp", "$_checkout_dir/layers/core_checks/cc_ycbcr.cpp", "$_checkout_dir/layers/core_checks/core_validation.h", "$_checkout_dir/layers/drawdispatch/descriptor_validator.cpp", "$_checkout_dir/layers/drawdispatch/descriptor_validator.h", "$_checkout_dir/layers/drawdispatch/drawdispatch_vuids.cpp", "$_checkout_dir/layers/drawdispatch/drawdispatch_vuids.h", "$_checkout_dir/layers/external/vma/vk_mem_alloc.h", "$_checkout_dir/layers/external/vma/vma.cpp", "$_checkout_dir/layers/external/vma/vma.h", "$_checkout_dir/layers/gpu_shaders/gpu_shaders_constants.h", "$_checkout_dir/layers/gpu_validation/debug_printf.cpp", "$_checkout_dir/layers/gpu_validation/debug_printf.h", "$_checkout_dir/layers/gpu_validation/gpu_descriptor_set.cpp", "$_checkout_dir/layers/gpu_validation/gpu_descriptor_set.h", "$_checkout_dir/layers/gpu_validation/gpu_error_message.cpp", "$_checkout_dir/layers/gpu_validation/gpu_error_message.h", "$_checkout_dir/layers/gpu_validation/gpu_image_layout.cpp", "$_checkout_dir/layers/gpu_validation/gpu_record.cpp", "$_checkout_dir/layers/gpu_validation/gpu_settings.h", "$_checkout_dir/layers/gpu_validation/gpu_settings.h", "$_checkout_dir/layers/gpu_validation/gpu_setup.cpp", "$_checkout_dir/layers/gpu_validation/gpu_state_tracker.cpp", "$_checkout_dir/layers/gpu_validation/gpu_state_tracker.h", "$_checkout_dir/layers/gpu_validation/gpu_subclasses.cpp", "$_checkout_dir/layers/gpu_validation/gpu_subclasses.h", "$_checkout_dir/layers/gpu_validation/gpu_validation.cpp", "$_checkout_dir/layers/gpu_validation/gpu_validation.h", "$_checkout_dir/layers/gpu_validation/gpu_vuids.cpp", "$_checkout_dir/layers/gpu_validation/gpu_vuids.h", "$_checkout_dir/layers/gpu_validation/spirv/bindless_descriptor_pass.cpp", "$_checkout_dir/layers/gpu_validation/spirv/bindless_descriptor_pass.h", "$_checkout_dir/layers/gpu_validation/spirv/buffer_device_address_pass.cpp", "$_checkout_dir/layers/gpu_validation/spirv/buffer_device_address_pass.h", "$_checkout_dir/layers/gpu_validation/spirv/function_basic_block.cpp", "$_checkout_dir/layers/gpu_validation/spirv/function_basic_block.h", "$_checkout_dir/layers/gpu_validation/spirv/instruction.cpp", "$_checkout_dir/layers/gpu_validation/spirv/instruction.h", "$_checkout_dir/layers/gpu_validation/spirv/link.h", "$_checkout_dir/layers/gpu_validation/spirv/module.cpp", "$_checkout_dir/layers/gpu_validation/spirv/module.h", "$_checkout_dir/layers/gpu_validation/spirv/pass.cpp", "$_checkout_dir/layers/gpu_validation/spirv/pass.h", "$_checkout_dir/layers/gpu_validation/spirv/type_manager.cpp", "$_checkout_dir/layers/gpu_validation/spirv/type_manager.h", "$_checkout_dir/layers/layer_chassis_dispatch_manual.cpp", "$_checkout_dir/layers/layer_options.cpp", "$_checkout_dir/layers/layer_options.h", "$_checkout_dir/layers/object_tracker/object_lifetime_validation.h", "$_checkout_dir/layers/object_tracker/object_tracker_utils.cpp", "$_checkout_dir/layers/state_tracker/buffer_state.cpp", "$_checkout_dir/layers/state_tracker/buffer_state.h", "$_checkout_dir/layers/state_tracker/cmd_buffer_state.cpp", "$_checkout_dir/layers/state_tracker/cmd_buffer_state.h", "$_checkout_dir/layers/state_tracker/descriptor_sets.cpp", "$_checkout_dir/layers/state_tracker/descriptor_sets.h", "$_checkout_dir/layers/state_tracker/device_memory_state.cpp", "$_checkout_dir/layers/state_tracker/device_memory_state.h", "$_checkout_dir/layers/state_tracker/device_state.h", "$_checkout_dir/layers/state_tracker/fence_state.cpp", "$_checkout_dir/layers/state_tracker/fence_state.h", "$_checkout_dir/layers/state_tracker/image_layout_map.cpp", "$_checkout_dir/layers/state_tracker/image_layout_map.h", "$_checkout_dir/layers/state_tracker/image_state.cpp", "$_checkout_dir/layers/state_tracker/image_state.h", "$_checkout_dir/layers/state_tracker/pipeline_layout_state.cpp", "$_checkout_dir/layers/state_tracker/pipeline_layout_state.h", "$_checkout_dir/layers/state_tracker/pipeline_state.cpp", "$_checkout_dir/layers/state_tracker/pipeline_state.h", "$_checkout_dir/layers/state_tracker/pipeline_sub_state.cpp", "$_checkout_dir/layers/state_tracker/pipeline_sub_state.h", "$_checkout_dir/layers/state_tracker/query_state.h", "$_checkout_dir/layers/state_tracker/queue_state.cpp", "$_checkout_dir/layers/state_tracker/queue_state.h", "$_checkout_dir/layers/state_tracker/ray_tracing_state.h", "$_checkout_dir/layers/state_tracker/render_pass_state.cpp", "$_checkout_dir/layers/state_tracker/render_pass_state.h", "$_checkout_dir/layers/state_tracker/sampler_state.h", "$_checkout_dir/layers/state_tracker/semaphore_state.cpp", "$_checkout_dir/layers/state_tracker/semaphore_state.h", "$_checkout_dir/layers/state_tracker/shader_instruction.cpp", "$_checkout_dir/layers/state_tracker/shader_instruction.h", "$_checkout_dir/layers/state_tracker/shader_module.cpp", "$_checkout_dir/layers/state_tracker/shader_module.h", "$_checkout_dir/layers/state_tracker/shader_object_state.cpp", "$_checkout_dir/layers/state_tracker/shader_object_state.h", "$_checkout_dir/layers/state_tracker/state_object.cpp", "$_checkout_dir/layers/state_tracker/state_object.h", "$_checkout_dir/layers/state_tracker/state_tracker.cpp", "$_checkout_dir/layers/state_tracker/state_tracker.h", "$_checkout_dir/layers/state_tracker/video_session_state.cpp", "$_checkout_dir/layers/state_tracker/video_session_state.h", "$_checkout_dir/layers/stateless/sl_buffer.cpp", "$_checkout_dir/layers/stateless/sl_cmd_buffer.cpp", "$_checkout_dir/layers/stateless/sl_cmd_buffer_dynamic.cpp", "$_checkout_dir/layers/stateless/sl_descriptor.cpp", "$_checkout_dir/layers/stateless/sl_device_memory.cpp", "$_checkout_dir/layers/stateless/sl_external_object.cpp", "$_checkout_dir/layers/stateless/sl_framebuffer.cpp", "$_checkout_dir/layers/stateless/sl_image.cpp", "$_checkout_dir/layers/stateless/sl_instance_device.cpp", "$_checkout_dir/layers/stateless/sl_pipeline.cpp", "$_checkout_dir/layers/stateless/sl_ray_tracing.cpp", "$_checkout_dir/layers/stateless/sl_render_pass.cpp", "$_checkout_dir/layers/stateless/sl_shader_object.cpp", "$_checkout_dir/layers/stateless/sl_synchronization.cpp", "$_checkout_dir/layers/stateless/sl_utils.cpp", "$_checkout_dir/layers/stateless/sl_wsi.cpp", "$_checkout_dir/layers/stateless/stateless_validation.h", "$_checkout_dir/layers/sync/sync_access_context.cpp", "$_checkout_dir/layers/sync/sync_access_context.h", "$_checkout_dir/layers/sync/sync_access_state.cpp", "$_checkout_dir/layers/sync/sync_access_state.h", "$_checkout_dir/layers/sync/sync_commandbuffer.cpp", "$_checkout_dir/layers/sync/sync_commandbuffer.h", "$_checkout_dir/layers/sync/sync_common.cpp", "$_checkout_dir/layers/sync/sync_common.h", "$_checkout_dir/layers/sync/sync_op.cpp", "$_checkout_dir/layers/sync/sync_op.h", "$_checkout_dir/layers/sync/sync_renderpass.cpp", "$_checkout_dir/layers/sync/sync_renderpass.h", "$_checkout_dir/layers/sync/sync_submit.cpp", "$_checkout_dir/layers/sync/sync_submit.h", "$_checkout_dir/layers/sync/sync_utils.cpp", "$_checkout_dir/layers/sync/sync_utils.h", "$_checkout_dir/layers/sync/sync_validation.cpp", "$_checkout_dir/layers/sync/sync_validation.h", "$_checkout_dir/layers/sync/sync_vuid_maps.cpp", "$_checkout_dir/layers/sync/sync_vuid_maps.h", "$_checkout_dir/layers/thread_tracker/thread_safety_validation.cpp", "$_checkout_dir/layers/thread_tracker/thread_safety_validation.h", "$_checkout_dir/layers/utils/android_ndk_types.h", "$_checkout_dir/layers/utils/convert_utils.cpp", "$_checkout_dir/layers/utils/convert_utils.h", "$_checkout_dir/layers/utils/image_layout_utils.cpp", "$_checkout_dir/layers/utils/image_layout_utils.h", "$_checkout_dir/layers/utils/shader_utils.cpp", "$_checkout_dir/layers/utils/shader_utils.h", "$_checkout_dir/layers/vulkan/generated/best_practices.cpp", "$_checkout_dir/layers/vulkan/generated/best_practices.h", "$_checkout_dir/layers/vulkan/generated/chassis.cpp", "$_checkout_dir/layers/vulkan/generated/chassis.h", "$_checkout_dir/layers/vulkan/generated/chassis_dispatch_helper.h", "$_checkout_dir/layers/vulkan/generated/command_validation.cpp", "$_checkout_dir/layers/vulkan/generated/dynamic_state_helper.cpp", "$_checkout_dir/layers/vulkan/generated/dynamic_state_helper.h", "$_checkout_dir/layers/vulkan/generated/enum_flag_bits.h", "$_checkout_dir/layers/vulkan/generated/gpu_as_inspection_comp.h", "$_checkout_dir/layers/vulkan/generated/gpu_inst_shader_hash.h", "$_checkout_dir/layers/vulkan/generated/gpu_pre_copy_buffer_to_image_comp.h", "$_checkout_dir/layers/vulkan/generated/gpu_pre_dispatch_comp.h", "$_checkout_dir/layers/vulkan/generated/gpu_pre_draw_vert.h", "$_checkout_dir/layers/vulkan/generated/gpu_pre_trace_rays_rgen.h", "$_checkout_dir/layers/vulkan/generated/inst_bindless_descriptor_comp.h", "$_checkout_dir/layers/vulkan/generated/inst_buffer_device_address_comp.h", "$_checkout_dir/layers/vulkan/generated/layer_chassis_dispatch.cpp", "$_checkout_dir/layers/vulkan/generated/layer_chassis_dispatch.h", "$_checkout_dir/layers/vulkan/generated/object_tracker.cpp", "$_checkout_dir/layers/vulkan/generated/object_tracker.h", "$_checkout_dir/layers/vulkan/generated/spirv_grammar_helper.cpp", "$_checkout_dir/layers/vulkan/generated/spirv_grammar_helper.h", "$_checkout_dir/layers/vulkan/generated/spirv_tools_commit_id.h", "$_checkout_dir/layers/vulkan/generated/spirv_validation_helper.cpp", "$_checkout_dir/layers/vulkan/generated/state_tracker_helper.cpp", "$_checkout_dir/layers/vulkan/generated/state_tracker_helper.h", "$_checkout_dir/layers/vulkan/generated/stateless_validation_helper.cpp", "$_checkout_dir/layers/vulkan/generated/stateless_validation_helper.h", "$_checkout_dir/layers/vulkan/generated/sync_validation_types.cpp", "$_checkout_dir/layers/vulkan/generated/sync_validation_types.h", "$_checkout_dir/layers/vulkan/generated/thread_safety.cpp", "$_checkout_dir/layers/vulkan/generated/thread_safety_commands.h", "$_checkout_dir/layers/vulkan/generated/thread_safety_counter_bodies.h", "$_checkout_dir/layers/vulkan/generated/thread_safety_counter_definitions.h", "$_checkout_dir/layers/vulkan/generated/thread_safety_counter_instances.h", "$_checkout_dir/layers/vulkan/generated/valid_enum_values.cpp", "$_checkout_dir/layers/vulkan/generated/valid_enum_values.h", "$_checkout_dir/layers/vulkan/generated/valid_flag_values.cpp", "$_checkout_dir/layers/vulkan/generated/vk_api_version.h", "$_checkout_dir/layers/vulkan/generated/vk_dispatch_table_helper.cpp", "$_checkout_dir/layers/vulkan/generated/vk_dispatch_table_helper.h", "$_checkout_dir/layers/vulkan/generated/vk_extension_helper.cpp", "$_checkout_dir/layers/vulkan/generated/vk_extension_helper.h", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct_core.cpp", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct_ext.cpp", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct_khr.cpp", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct_utils.cpp", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct_vendor.cpp", "$vulkan_headers_dir/include/vulkan/vk_layer.h", "$vulkan_headers_dir/include/vulkan/vulkan.h", ] layers = [ [ "khronos_validation", vvl_sources, [ ":vulkan_core_validation_glslang" ], [], ] ] if (!is_android) { action("vulkan_gen_json_files") { script = "$_checkout_dir/scripts/gn/generate_vulkan_layers_json.py" deps = [ "$vulkan_headers_dir:vulkan_headers" ] if (!is_fuchsia) { # Make sure that the cleanup of old layer JSON files happens before the new ones are generated. deps += [ ":vulkan_clean_old_validation_layer_objects" ] } sources = [ "$_checkout_dir/layers/VkLayer_khronos_validation.json.in" ] outputs = [ "$vulkan_data_dir/VkLayer_khronos_validation.json" ] if (is_linux) { _platform = "Linux" } else if (is_win) { _platform = "Windows" } else if (is_mac) { _platform = "Darwin" } else if (is_fuchsia) { _platform = "Fuchsia" } else { _platform = "Other" } args = [ "--platform", _platform, rebase_path("$_checkout_dir/layers/", root_build_dir), rebase_path(vulkan_data_dir, root_build_dir), ] + rebase_path(sources, root_build_dir) if (is_fuchsia) { args += [ "--no-path-prefix" ] } # The layer JSON files are part of the necessary data deps. data = outputs } } config("vulkan_memory_allocator_config") { if (is_clang) { cflags_cc = [ "-Wno-nullability-completeness" ] } } source_set("vulkan_layer_utils") { include_dirs = [ "$_checkout_dir/layers", "$_checkout_dir/layers/external", "$_checkout_dir/layers/vulkan", ] sources = [ "$_checkout_dir/layers/containers/custom_containers.h", "$_checkout_dir/layers/containers/sparse_containers.h", "$_checkout_dir/layers/error_message/error_location.cpp", "$_checkout_dir/layers/error_message/error_location.h", "$_checkout_dir/layers/error_message/logging.cpp", "$_checkout_dir/layers/error_message/logging.h", "$_checkout_dir/layers/error_message/record_object.h", "$_checkout_dir/layers/external/xxhash.h", "$_checkout_dir/layers/utils/android_ndk_types.h", "$_checkout_dir/layers/utils/cast_utils.h", "$_checkout_dir/layers/utils/hash_util.cpp", "$_checkout_dir/layers/utils/hash_util.h", "$_checkout_dir/layers/utils/hash_vk_types.h", "$_checkout_dir/layers/utils/ray_tracing_utils.cpp", "$_checkout_dir/layers/utils/ray_tracing_utils.h", "$_checkout_dir/layers/utils/vk_layer_extension_utils.cpp", "$_checkout_dir/layers/utils/vk_layer_extension_utils.h", "$_checkout_dir/layers/utils/vk_layer_utils.cpp", "$_checkout_dir/layers/utils/vk_layer_utils.h", "$_checkout_dir/layers/vk_layer_config.cpp", "$_checkout_dir/layers/vk_layer_config.h", "$_checkout_dir/layers/vulkan/generated/error_location_helper.cpp", "$_checkout_dir/layers/vulkan/generated/error_location_helper.h", "$_checkout_dir/layers/vulkan/generated/feature_requirements_helper.cpp", "$_checkout_dir/layers/vulkan/generated/feature_requirements_helper.h", "$_checkout_dir/layers/vulkan/generated/layer_chassis_dispatch.h", "$_checkout_dir/layers/vulkan/generated/pnext_chain_extraction.cpp", "$_checkout_dir/layers/vulkan/generated/pnext_chain_extraction.h", "$_checkout_dir/layers/vulkan/generated/vk_api_version.h", "$_checkout_dir/layers/vulkan/generated/vk_extension_helper.h", "$_checkout_dir/layers/vulkan/generated/vk_layer_dispatch_table.h", "$_checkout_dir/layers/vulkan/generated/vk_object_types.cpp", "$_checkout_dir/layers/vulkan/generated/vk_object_types.h", "$_checkout_dir/layers/vulkan/generated/vk_safe_struct.h", "$_checkout_dir/layers/vulkan/generated/vk_validation_error_messages.h", "$vulkan_headers_dir/include/vulkan/vk_layer.h", "$vulkan_headers_dir/include/vulkan/vulkan.h", ] public_configs = [ ":vulkan_internal_config", ":vulkan_memory_allocator_config", ] public_deps = [ "$vulkan_headers_dir:vulkan_headers", "$vulkan_utility_libraries_dir:vulkan_layer_settings", ] configs -= vulkan_undefine_configs if (!is_fuchsia) { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] } } config("vulkan_core_validation_config") { include_dirs = [ "$vvl_glslang_dir" ] } source_set("vulkan_core_validation_glslang") { public_deps = [ "${vvl_spirv_tools_dir}:spvtools", "${vvl_spirv_tools_dir}:spvtools_link", "${vvl_spirv_tools_dir}:spvtools_opt", "${vvl_spirv_tools_dir}:spvtools_val", ] public_configs = [ "$vulkan_headers_dir:vulkan_headers_config", ":vulkan_core_validation_config", ] } config("vulkan_stateless_validation_config") { if (is_clang) { cflags_cc = [ "-Wno-unused-const-variable" ] } } if (is_fuchsia) { library_type = "loadable_module" } else { library_type = "shared_library" } foreach(layer_info, layers) { name = layer_info[0] target(library_type, "VkLayer_$name") { defines = [] ldflags = [] if (is_fuchsia) { configs -= [ "//build/config:thread_safety_annotations" ] ldflags += [ "-static-libstdc++" ] configs += [ "//build/config:rtti" ] } else { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] configs -= [ "//build/config/compiler:no_rtti" ] configs += [ "//build/config/compiler:rtti" ] } configs -= vulkan_undefine_configs configs += [ ":generated_layers_config" ] public_configs = [ ":vulkan_layer_config" ] deps = [ ":vulkan_layer_utils", "$vulkan_utility_libraries_dir:vulkan_layer_settings", ] if (!is_fuchsia) { deps += [ # Make sure the cleanup of old layers happen before the new ones are compiled. ":vulkan_clean_old_validation_layer_objects", ] } if (layer_info[2] != "") { deps += layer_info[2] } sources = layer_info[1] if (is_win) { defines += [ "NOMINMAX" ] sources += [ "$_checkout_dir/layers/VkLayer_$name.def" ] } if (defined(ozone_platform_x11) && ozone_platform_x11) { defines += [ "VK_USE_PLATFORM_XLIB_KHR" ] } if (is_android) { libs = [ "log", "nativewindow", ] # Note: config edit removed by Flutter # configs -= [ "//build/config/android:hide_all_but_jni_onload" ] } defines += layer_info[3] } } group("vulkan_validation_layers") { public_deps = [] data_deps = [] foreach(layer_info, layers) { name = layer_info[0] if (is_fuchsia) { public_deps += [ ":VkLayer_$name" ] } else { data_deps += [ ":VkLayer_$name" ] } } } group("tests") { # TODO(fxbug.dev/13288) }
engine/build/secondary/third_party/vulkan_validation_layers/BUILD.gn/0
{ "file_path": "engine/build/secondary/third_party/vulkan_validation_layers/BUILD.gn", "repo_id": "engine", "token_count": 9874 }
143
#!/bin/bash # # 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. set -e # Needed because if it is set, cd may print the path it changed to. unset CDPATH # On Mac OS, readlink -f doesn't work, so follow_links traverses the path one # link at a time, and then cds into the link destination and find out where it # ends up. # # The function is enclosed in a subshell to avoid changing the working directory # of the caller. function follow_links() ( cd -P "$(dirname -- "$1")" file="$PWD/$(basename -- "$1")" while [[ -L "$file" ]]; do cd -P "$(dirname -- "$file")" file="$(readlink -- "$file")" cd -P "$(dirname -- "$file")" file="$PWD/$(basename -- "$file")" done echo "$file" ) SCRIPT_DIR=$(follow_links "$(dirname -- "${BASH_SOURCE[0]}")") SRC_DIR="$( cd "$SCRIPT_DIR/../.." pwd -P )" # Check if a file named **/GeneratedPluginRegistrant.java exists in the project. # If it does, fail the build and print a message to the user pointing them to # the file and instructing them to remove it. # # See: https://github.com/flutter/flutter/issues/143782. # The expected path to the file. Any *other* path is unexpected. EXPECTED_PATHS=("./shell/platform/android/test/io/flutter/plugins/GeneratedPluginRegistrant.java") # Temporarily change the working directory to the root of the Flutter project. pushd "$SRC_DIR/flutter" >/dev/null # Change back to the original working directory. function cleanup() { popd >/dev/null } trap cleanup EXIT # Find all files named GeneratedPluginRegistrant.java in the project. echo "Finding all files named GeneratedPluginRegistrant.java in the project..." GENERATED_PLUGIN_REGISTRANT_PATHS=$(find . -name "GeneratedPluginRegistrant.java") # Iterate over the found paths and check if they are expected. for path in $GENERATED_PLUGIN_REGISTRANT_PATHS; do if [[ ! " ${EXPECTED_PATHS[@]} " =~ " ${path} " ]]; then echo "ERROR: Found unexpected file named GeneratedPluginRegistrant.java at $path." echo "Please remove this file from the project." exit 1 fi done echo "Done."
engine/ci/ban_generated_plugin_registrant_java.sh/0
{ "file_path": "engine/ci/ban_generated_plugin_registrant_java.sh", "repo_id": "engine", "token_count": 726 }
144
{ "_comment": "THIS IS A GENERATED FILE. Do not edit this file directly.", "_comment2": "See `generate_builder_json.dart` for the generator code", "builds": [ { "name": "web_tests/artifacts", "drone_dimensions": [ "device_type=none", "os=Linux", "cores=32" ], "gclient_variables": { "download_android_deps": false, "download_emsdk": true }, "gn": [ "--web", "--runtime-mode=release", "--no-goma" ], "ninja": { "config": "wasm_release", "targets": [ "flutter/web_sdk:flutter_web_sdk_archive" ] }, "archives": [ { "name": "wasm_release", "base_path": "out/wasm_release/zip_archives/", "type": "gcs", "include_paths": [ "out/wasm_release/zip_archives/flutter-web-sdk.zip" ], "realm": "production" } ], "generators": { "tasks": [ { "name": "check licenses", "parameters": [ "check-licenses" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] }, { "name": "web engine analysis", "parameters": [ "analyze" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] }, { "name": "copy artifacts for web tests", "parameters": [ "test", "--copy-artifacts" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2js-html-engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2js-html-engine", "parameters": [ "test", "--compile", "--bundle=dart2js-html-engine" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2js-html-html", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2js-html-html", "parameters": [ "test", "--compile", "--bundle=dart2js-html-html" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2js-html-ui", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2js-html-ui", "parameters": [ "test", "--compile", "--bundle=dart2js-html-ui" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2js-canvaskit-canvaskit", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2js-canvaskit-canvaskit", "parameters": [ "test", "--compile", "--bundle=dart2js-canvaskit-canvaskit" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2js-canvaskit-ui", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2js-canvaskit-ui", "parameters": [ "test", "--compile", "--bundle=dart2js-canvaskit-ui" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-html-engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-html-engine", "parameters": [ "test", "--compile", "--bundle=dart2wasm-html-engine" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-html-html", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-html-html", "parameters": [ "test", "--compile", "--bundle=dart2wasm-html-html" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-html-ui", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-html-ui", "parameters": [ "test", "--compile", "--bundle=dart2wasm-html-ui" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-canvaskit-canvaskit", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-canvaskit-canvaskit", "parameters": [ "test", "--compile", "--bundle=dart2wasm-canvaskit-canvaskit" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-canvaskit-ui", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-canvaskit-ui", "parameters": [ "test", "--compile", "--bundle=dart2wasm-canvaskit-ui" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/dart2wasm-skwasm-ui", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle dart2wasm-skwasm-ui", "parameters": [ "test", "--compile", "--bundle=dart2wasm-skwasm-ui" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } }, { "name": "web_tests/test_bundles/fallbacks", "drone_dimensions": [ "device_type=none", "os=Linux" ], "generators": { "tasks": [ { "name": "compile bundle fallbacks", "parameters": [ "test", "--compile", "--bundle=fallbacks" ], "scripts": [ "flutter/lib/web_ui/dev/felt" ] } ] } } ], "tests": [ { "name": "Linux run chrome-dart2js-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-engine", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2js-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-html", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2js-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-full-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-full-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-full-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-full-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-dart2js-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-dart2js-html-engine", "parameters": [ "test", "--run", "--suite=firefox-dart2js-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-dart2js-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-dart2js-html-html", "parameters": [ "test", "--run", "--suite=firefox-dart2js-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-dart2js-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-dart2js-html-ui", "parameters": [ "test", "--run", "--suite=firefox-dart2js-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=firefox-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=firefox-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-engine", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-html", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-dart2wasm-skwasm-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-skwasm-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-skwasm-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-skwasm-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-full-dart2wasm-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2wasm-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-full-dart2wasm-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-full-dart2wasm-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2wasm-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-full-dart2wasm-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run chrome-fallbacks suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/fallbacks" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-fallbacks", "parameters": [ "test", "--run", "--suite=chrome-fallbacks" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Linux run firefox-fallbacks suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Linux" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/fallbacks" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "firefox", "version": "version:106.0" } ], "tasks": [ { "name": "run suite firefox-fallbacks", "parameters": [ "test", "--run", "--suite=firefox-fallbacks" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-dart2js-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-dart2js-html-engine", "parameters": [ "test", "--run", "--suite=safari-dart2js-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-dart2js-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-dart2js-html-html", "parameters": [ "test", "--run", "--suite=safari-dart2js-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-dart2js-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-dart2js-html-ui", "parameters": [ "test", "--run", "--suite=safari-dart2js-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=safari-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=safari-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Mac run safari-fallbacks suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Mac-13", "cpu=arm64" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/fallbacks" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" } ], "tasks": [ { "name": "run suite safari-fallbacks", "parameters": [ "test", "--run", "--suite=safari-fallbacks" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2js-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-engine", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2js-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-html", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2js-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-html-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2js-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-full-dart2js-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2js-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-full-dart2js-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-full-dart2js-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2js-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2js-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-full-dart2js-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-html-engine suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-engine" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-engine", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-engine" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-html-html suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-html" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-html", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-html" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-html-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-html-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-html-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-html-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-dart2wasm-skwasm-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-skwasm-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-dart2wasm-skwasm-ui", "parameters": [ "test", "--run", "--suite=chrome-dart2wasm-skwasm-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-full-dart2wasm-canvaskit-canvaskit suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-canvaskit" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2wasm-canvaskit-canvaskit", "parameters": [ "test", "--run", "--suite=chrome-full-dart2wasm-canvaskit-canvaskit" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-full-dart2wasm-canvaskit-ui suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/dart2wasm-canvaskit-ui" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-full-dart2wasm-canvaskit-ui", "parameters": [ "test", "--run", "--suite=chrome-full-dart2wasm-canvaskit-ui" ], "script": "flutter/lib/web_ui/dev/felt" } ] }, { "name": "Windows run chrome-fallbacks suite", "recipe": "engine_v2/tester_engine", "drone_dimensions": [ "device_type=none", "os=Windows" ], "gclient_variables": { "download_android_deps": false }, "dependencies": [ "web_tests/artifacts", "web_tests/test_bundles/fallbacks" ], "test_dependencies": [ { "dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" }, { "dependency": "chrome_and_driver", "version": "119.0.6045.9" } ], "tasks": [ { "name": "run suite chrome-fallbacks", "parameters": [ "test", "--run", "--suite=chrome-fallbacks" ], "script": "flutter/lib/web_ui/dev/felt" } ] } ] }
engine/ci/builders/linux_web_engine.json/0
{ "file_path": "engine/ci/builders/linux_web_engine.json", "repo_id": "engine", "token_count": 29087 }
145
#!/usr/bin/env python3 # # 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. # # This script contains helper function(s) for supporting both # python 2 and python 3 infrastructure code. ENCODING = 'UTF-8' def byte_str_decode(str_or_bytes): """Returns a string if given either a string or bytes. TODO: This function should be removed when the supported python version is only python 3. Args: str_or_bytes (string or bytes) we want to convert or return as the possible value changes depending on the version of python used. """ return str_or_bytes if isinstance(str_or_bytes, str) else str_or_bytes.decode(ENCODING)
engine/ci/compatibility_helper.py/0
{ "file_path": "engine/ci/compatibility_helper.py", "repo_id": "engine", "token_count": 244 }
146
#!/usr/bin/env python3 # # 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. # # Usage: scan_deps.py --deps <DEPS file> --output <parsed lockfile> # # This script extracts the dependencies provided from the DEPS file and # finds the appropriate git commit hash per dependency for osv-scanner # to use in checking for vulnerabilities. # It is expected that the lockfile output of this script is then # uploaded using GitHub actions to be used by the osv-scanner reusable action. import argparse import json import os import re import shutil import subprocess import sys from compatibility_helper import byte_str_decode SCRIPT_DIR = os.path.dirname(sys.argv[0]) CHECKOUT_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..')) CHROMIUM_README_FILE = 'third_party/accessibility/README.md' CHROMIUM_README_COMMIT_LINE = 4 # The fifth line will always contain the commit hash. CHROMIUM = 'https://chromium.googlesource.com/chromium/src' DEP_CLONE_DIR = CHECKOUT_ROOT + '/clone-test' DEPS = os.path.join(CHECKOUT_ROOT, 'DEPS') UPSTREAM_PREFIX = 'upstream_' # Used in parsing the DEPS file. class VarImpl: _env_vars = { 'host_cpu': 'x64', 'host_os': 'linux', } def __init__(self, local_scope): self._local_scope = local_scope def lookup(self, var_name): """Implements the Var syntax.""" if var_name in self._local_scope.get('vars', {}): return self._local_scope['vars'][var_name] # Inject default values for env variables. if var_name in self._env_vars: return self._env_vars[var_name] raise Exception('Var is not defined: %s' % var_name) def extract_deps(deps_file): local_scope = {} var = VarImpl(local_scope) global_scope = { 'Var': var.lookup, 'deps_os': {}, } # Read the content. with open(deps_file, 'r') as file: deps_content = file.read() # Eval the content. exec(deps_content, global_scope, local_scope) if not os.path.exists(DEP_CLONE_DIR): os.mkdir(DEP_CLONE_DIR) # Clone deps with upstream into temporary dir. # Extract the deps and filter. deps = local_scope.get('deps', {}) deps_list = local_scope.get('vars') filtered_osv_deps = [] for _, dep in deps.items(): # We currently do not support packages or cipd which are represented # as dictionaries. if not isinstance(dep, str): continue dep_split = dep.rsplit('@', 1) ancestor_result = get_common_ancestor([dep_split[0], dep_split[1]], deps_list) if ancestor_result: filtered_osv_deps.append({ 'package': {'name': ancestor_result[1], 'commit': ancestor_result[0]} }) try: # Clean up cloned upstream dependency directory. shutil.rmtree(DEP_CLONE_DIR) # Use shutil.rmtree since dir could be non-empty. except OSError as clone_dir_error: print('Error cleaning up clone directory: %s : %s' % (DEP_CLONE_DIR, clone_dir_error.strerror)) osv_result = { 'packageSource': {'path': deps_file, 'type': 'lockfile'}, 'packages': filtered_osv_deps } return osv_result def parse_readme(): """ Opens the Flutter Accessibility Library README and uses the commit hash found in the README to check for viulnerabilities. The commit hash in this README will always be in the same format """ file_path = os.path.join(CHECKOUT_ROOT, CHROMIUM_README_FILE) with open(file_path) as file: # Read the content of the file opened. content = file.readlines() commit_line = content[CHROMIUM_README_COMMIT_LINE] commit = re.search(r'(?<=\[).*(?=\])', commit_line) osv_result = { 'packageSource': {'path': file_path, 'type': 'lockfile'}, 'packages': [{'package': {'name': CHROMIUM, 'commit': commit.group()}}] } return osv_result def get_common_ancestor(dep, deps_list): """ Given an input of a mirrored dep, compare to the mapping of deps to their upstream in DEPS and find a common ancestor commit SHA value. This is done by first cloning the mirrored dep, then a branch which tracks the upstream. From there, git merge-base operates using the HEAD commit SHA of the upstream branch and the pinned SHA value of the mirrored branch """ # dep[0] contains the mirror repo. # dep[1] contains the mirror's pinned SHA. # upstream is the origin repo. dep_name = dep[0].split('/')[-1].split('.')[0] if UPSTREAM_PREFIX + dep_name not in deps_list: print('did not find dep: ' + dep_name) return None try: # Get the upstream URL from the mapping in DEPS file. upstream = deps_list.get(UPSTREAM_PREFIX + dep_name) temp_dep_dir = DEP_CLONE_DIR + '/' + dep_name # Clone dependency from mirror. subprocess.check_output(['git', 'clone', '--quiet', '--', dep[0], dep_name], cwd=DEP_CLONE_DIR) # Create branch that will track the upstream dep. print('attempting to add upstream remote from: {upstream}'.format(upstream=upstream)) subprocess.check_output(['git', 'remote', 'add', 'upstream', upstream], cwd=temp_dep_dir) subprocess.check_output(['git', 'fetch', '--quiet', 'upstream'], cwd=temp_dep_dir) # Get name of the default branch for upstream (e.g. main/master/etc.). default_branch = subprocess.check_output( 'git remote show upstream ' + "| sed -n \'/HEAD branch/s/.*: //p\'", cwd=temp_dep_dir, shell=True ) default_branch = byte_str_decode(default_branch) default_branch = default_branch.strip() # Make upstream branch track the upstream dep. subprocess.check_output([ 'git', 'checkout', '--force', '-b', 'upstream', '--track', 'upstream/' + default_branch ], cwd=temp_dep_dir) # Get the most recent commit from default branch of upstream. commit = subprocess.check_output( 'git for-each-ref ' + "--format=\'%(objectname:short)\' refs/heads/upstream", cwd=temp_dep_dir, shell=True ) commit = byte_str_decode(commit) commit = commit.strip() # Perform merge-base on most recent default branch commit and pinned mirror commit. ancestor_commit = subprocess.check_output( 'git merge-base {commit} {depUrl}'.format(commit=commit, depUrl=dep[1]), cwd=temp_dep_dir, shell=True ) ancestor_commit = byte_str_decode(ancestor_commit) ancestor_commit = ancestor_commit.strip() print('Ancestor commit: ' + ancestor_commit) return ancestor_commit, upstream except subprocess.CalledProcessError as error: print( "Subprocess command '{0}' failed with exit code: {1}.".format( error.cmd, str(error.returncode) ) ) if error.output: print("Subprocess error output: '{0}'".format(error.output)) return None def parse_args(args): args = args[1:] parser = argparse.ArgumentParser(description='A script to find common ancestor commit SHAs') parser.add_argument( '--deps', '-d', type=str, help='Input DEPS file to extract.', default=os.path.join(CHECKOUT_ROOT, 'DEPS') ) parser.add_argument( '--output', '-o', type=str, help='Output osv-scanner compatible deps file.', default=os.path.join(CHECKOUT_ROOT, 'osv-lockfile.json') ) return parser.parse_args(args) def write_manifest(deps, manifest_file): output = {'results': deps} print(json.dumps(output, indent=2)) with open(manifest_file, 'w') as manifest: json.dump(output, manifest, indent=2) def main(argv): args = parse_args(argv) deps = extract_deps(args.deps) readme_deps = parse_readme() write_manifest([deps, readme_deps], args.output) return 0 if __name__ == '__main__': sys.exit(main(sys.argv))
engine/ci/scan_deps.py/0
{ "file_path": "engine/ci/scan_deps.py", "repo_id": "engine", "token_count": 2917 }
147
// 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. #include "flutter/common/graphics/persistent_cache.h" #include <future> #include <memory> #include <string> #include <string_view> #include <utility> #include "flutter/fml/base32.h" #include "flutter/fml/file.h" #include "flutter/fml/hex_codec.h" #include "flutter/fml/logging.h" #include "flutter/fml/make_copyable.h" #include "flutter/fml/mapping.h" #include "flutter/fml/paths.h" #include "flutter/fml/trace_event.h" #include "flutter/shell/common/base64.h" #include "flutter/shell/version/version.h" #include "openssl/sha.h" #include "rapidjson/document.h" #include "third_party/skia/include/gpu/GrDirectContext.h" namespace flutter { std::string PersistentCache::cache_base_path_; std::shared_ptr<AssetManager> PersistentCache::asset_manager_; std::mutex PersistentCache::instance_mutex_; std::unique_ptr<PersistentCache> PersistentCache::gPersistentCache; std::string PersistentCache::SkKeyToFilePath(const SkData& key) { if (key.data() == nullptr || key.size() == 0) { return ""; } uint8_t sha_digest[SHA_DIGEST_LENGTH]; SHA1(static_cast<const uint8_t*>(key.data()), key.size(), sha_digest); std::string_view view(reinterpret_cast<const char*>(sha_digest), SHA_DIGEST_LENGTH); return fml::HexEncode(view); } bool PersistentCache::gIsReadOnly = false; std::atomic<bool> PersistentCache::cache_sksl_ = false; std::atomic<bool> PersistentCache::strategy_set_ = false; void PersistentCache::SetCacheSkSL(bool value) { if (strategy_set_ && value != cache_sksl_) { FML_LOG(ERROR) << "Cache SkSL can only be set before the " "GrContextOptions::fShaderCacheStrategy is set."; return; } cache_sksl_ = value; } PersistentCache* PersistentCache::GetCacheForProcess() { std::scoped_lock lock(instance_mutex_); if (gPersistentCache == nullptr) { gPersistentCache.reset(new PersistentCache(gIsReadOnly)); } return gPersistentCache.get(); } void PersistentCache::ResetCacheForProcess() { std::scoped_lock lock(instance_mutex_); gPersistentCache.reset(new PersistentCache(gIsReadOnly)); strategy_set_ = false; } void PersistentCache::SetCacheDirectoryPath(std::string path) { cache_base_path_ = std::move(path); } bool PersistentCache::Purge() { // Make sure that this is called after the worker task runner setup so all the // file system modifications would happen on that single thread to avoid // racing. FML_CHECK(GetWorkerTaskRunner()); std::promise<bool> removed; GetWorkerTaskRunner()->PostTask([&removed, cache_directory = cache_directory_]() { if (cache_directory->is_valid()) { // Only remove files but not directories. FML_LOG(INFO) << "Purge persistent cache."; fml::FileVisitor delete_file = [](const fml::UniqueFD& directory, const std::string& filename) { // Do not delete directories. Return true to continue with other files. if (fml::IsDirectory(directory, filename.c_str())) { return true; } return fml::UnlinkFile(directory, filename.c_str()); }; removed.set_value(VisitFilesRecursively(*cache_directory, delete_file)); } else { removed.set_value(false); } }); return removed.get_future().get(); } namespace { constexpr char kEngineComponent[] = "flutter_engine"; static void FreeOldCacheDirectory(const fml::UniqueFD& cache_base_dir) { fml::UniqueFD engine_dir = fml::OpenDirectoryReadOnly(cache_base_dir, kEngineComponent); if (!engine_dir.is_valid()) { return; } fml::VisitFiles(engine_dir, [](const fml::UniqueFD& directory, const std::string& filename) { if (filename != GetFlutterEngineVersion()) { auto dir = fml::OpenDirectory(directory, filename.c_str(), false, fml::FilePermission::kReadWrite); if (dir.is_valid()) { fml::RemoveDirectoryRecursively(directory, filename.c_str()); } } return true; }); } static std::shared_ptr<fml::UniqueFD> MakeCacheDirectory( const std::string& global_cache_base_path, bool read_only, bool cache_sksl) { fml::UniqueFD cache_base_dir; if (global_cache_base_path.length()) { cache_base_dir = fml::OpenDirectory(global_cache_base_path.c_str(), false, fml::FilePermission::kRead); } else { cache_base_dir = fml::paths::GetCachesDirectory(); } if (cache_base_dir.is_valid()) { FreeOldCacheDirectory(cache_base_dir); std::vector<std::string> components = { kEngineComponent, GetFlutterEngineVersion(), "skia", GetSkiaVersion()}; if (cache_sksl) { components.push_back(PersistentCache::kSkSLSubdirName); } return std::make_shared<fml::UniqueFD>( CreateDirectory(cache_base_dir, components, read_only ? fml::FilePermission::kRead : fml::FilePermission::kReadWrite)); } else { return std::make_shared<fml::UniqueFD>(); } } } // namespace sk_sp<SkData> ParseBase32(const std::string& input) { std::pair<bool, std::string> decode_result = fml::Base32Decode(input); if (!decode_result.first) { FML_LOG(ERROR) << "Base32 can't decode: " << input; return nullptr; } const std::string& data_string = decode_result.second; return SkData::MakeWithCopy(data_string.data(), data_string.length()); } sk_sp<SkData> ParseBase64(const std::string& input) { Base64::Error error; size_t output_len; error = Base64::Decode(input.c_str(), input.length(), nullptr, &output_len); if (error != Base64::Error::kNone) { FML_LOG(ERROR) << "Base64 decode error: " << (int)error; FML_LOG(ERROR) << "Base64 can't decode: " << input; return nullptr; } sk_sp<SkData> data = SkData::MakeUninitialized(output_len); void* output = data->writable_data(); error = Base64::Decode(input.c_str(), input.length(), output, &output_len); if (error != Base64::Error::kNone) { FML_LOG(ERROR) << "Base64 decode error: " << (int)error; FML_LOG(ERROR) << "Base64 can't decode: " << input; return nullptr; } return data; } size_t PersistentCache::PrecompileKnownSkSLs(GrDirectContext* context) const { // clang-tidy has trouble reasoning about some of the complicated array and // pointer-arithmetic code in rapidjson. // NOLINTNEXTLINE(clang-analyzer-cplusplus.PlacementNew) auto known_sksls = LoadSkSLs(); // A trace must be present even if no precompilations have been completed. FML_TRACE_EVENT("flutter", "PersistentCache::PrecompileKnownSkSLs", "count", known_sksls.size()); if (context == nullptr) { return 0; } size_t precompiled_count = 0; for (const auto& sksl : known_sksls) { TRACE_EVENT0("flutter", "PrecompilingSkSL"); if (context->precompileShader(*sksl.key, *sksl.value)) { precompiled_count++; } } FML_TRACE_COUNTER("flutter", "PersistentCache::PrecompiledSkSLs", reinterpret_cast<int64_t>(this), // Trace Counter ID "Successful", precompiled_count); return precompiled_count; } std::vector<PersistentCache::SkSLCache> PersistentCache::LoadSkSLs() const { TRACE_EVENT0("flutter", "PersistentCache::LoadSkSLs"); std::vector<PersistentCache::SkSLCache> result; fml::FileVisitor visitor = [&result](const fml::UniqueFD& directory, const std::string& filename) { SkSLCache cache = LoadFile(directory, filename, true); if (cache.key != nullptr && cache.value != nullptr) { result.push_back(cache); } else { FML_LOG(ERROR) << "Failed to load: " << filename; } return true; }; // Only visit sksl_cache_directory_ if this persistent cache is valid. // However, we'd like to continue visit the asset dir even if this persistent // cache is invalid. if (IsValid()) { // In case `rewinddir` doesn't work reliably, load SkSLs from a freshly // opened directory (https://github.com/flutter/flutter/issues/65258). fml::UniqueFD fresh_dir = fml::OpenDirectoryReadOnly(*cache_directory_, kSkSLSubdirName); if (fresh_dir.is_valid()) { fml::VisitFiles(fresh_dir, visitor); } } std::unique_ptr<fml::Mapping> mapping = nullptr; if (asset_manager_ != nullptr) { mapping = asset_manager_->GetAsMapping(kAssetFileName); } if (mapping == nullptr) { FML_LOG(INFO) << "No sksl asset found."; } else { FML_LOG(INFO) << "Found sksl asset. Loading SkSLs from it..."; rapidjson::Document json_doc; rapidjson::ParseResult parse_result = json_doc.Parse(reinterpret_cast<const char*>(mapping->GetMapping()), mapping->GetSize()); if (parse_result.IsError()) { FML_LOG(ERROR) << "Failed to parse json file: " << kAssetFileName; } else { for (auto& item : json_doc["data"].GetObject()) { sk_sp<SkData> key = ParseBase32(item.name.GetString()); sk_sp<SkData> sksl = ParseBase64(item.value.GetString()); if (key != nullptr && sksl != nullptr) { result.push_back({key, sksl}); } else { FML_LOG(ERROR) << "Failed to load: " << item.name.GetString(); } } } } return result; } PersistentCache::PersistentCache(bool read_only) : is_read_only_(read_only), cache_directory_(MakeCacheDirectory(cache_base_path_, read_only, false)), sksl_cache_directory_( MakeCacheDirectory(cache_base_path_, read_only, true)) { if (!IsValid()) { FML_LOG(WARNING) << "Could not acquire the persistent cache directory. " "Caching of GPU resources on disk is disabled."; } } PersistentCache::~PersistentCache() = default; bool PersistentCache::IsValid() const { return cache_directory_ && cache_directory_->is_valid(); } PersistentCache::SkSLCache PersistentCache::LoadFile( const fml::UniqueFD& dir, const std::string& file_name, bool need_key) { SkSLCache result; auto file = fml::OpenFileReadOnly(dir, file_name.c_str()); if (!file.is_valid()) { return result; } auto mapping = std::make_unique<fml::FileMapping>(file); if (mapping->GetSize() < sizeof(CacheObjectHeader)) { return result; } const CacheObjectHeader* header = reinterpret_cast<const CacheObjectHeader*>(mapping->GetMapping()); if (header->signature != CacheObjectHeader::kSignature || header->version != CacheObjectHeader::kVersion1) { FML_LOG(INFO) << "Persistent cache header is corrupt: " << file_name; return result; } if (mapping->GetSize() < sizeof(CacheObjectHeader) + header->key_size) { FML_LOG(INFO) << "Persistent cache size is corrupt: " << file_name; return result; } if (need_key) { result.key = SkData::MakeWithCopy( mapping->GetMapping() + sizeof(CacheObjectHeader), header->key_size); } size_t value_offset = sizeof(CacheObjectHeader) + header->key_size; result.value = SkData::MakeWithCopy(mapping->GetMapping() + value_offset, mapping->GetSize() - value_offset); return result; } // |GrContextOptions::PersistentCache| sk_sp<SkData> PersistentCache::load(const SkData& key) { TRACE_EVENT0("flutter", "PersistentCacheLoad"); if (!IsValid()) { return nullptr; } auto file_name = SkKeyToFilePath(key); if (file_name.empty()) { return nullptr; } auto result = PersistentCache::LoadFile(*cache_directory_, file_name, false).value; if (result != nullptr) { TRACE_EVENT0("flutter", "PersistentCacheLoadHit"); } return result; } static void PersistentCacheStore( const fml::RefPtr<fml::TaskRunner>& worker, const std::shared_ptr<fml::UniqueFD>& cache_directory, std::string key, std::unique_ptr<fml::Mapping> value) { // The static leak checker gets confused by the use of fml::MakeCopyable. // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks) auto task = fml::MakeCopyable([cache_directory, // file_name = std::move(key), // mapping = std::move(value) // ]() mutable { TRACE_EVENT0("flutter", "PersistentCacheStore"); if (!fml::WriteAtomically(*cache_directory, // file_name.c_str(), // *mapping) // ) { FML_LOG(WARNING) << "Could not write cache contents to persistent store."; } }); if (!worker) { FML_LOG(WARNING) << "The persistent cache has no available workers. Performing the task " "on the current thread. This slow operation is going to occur on a " "frame workload."; task(); } else { worker->PostTask(std::move(task)); } } std::unique_ptr<fml::MallocMapping> PersistentCache::BuildCacheObject( const SkData& key, const SkData& data) { size_t total_size = sizeof(CacheObjectHeader) + key.size() + data.size(); uint8_t* mapping_buf = reinterpret_cast<uint8_t*>(malloc(total_size)); if (!mapping_buf) { return nullptr; } auto mapping = std::make_unique<fml::MallocMapping>(mapping_buf, total_size); CacheObjectHeader header(key.size()); memcpy(mapping_buf, &header, sizeof(CacheObjectHeader)); mapping_buf += sizeof(CacheObjectHeader); memcpy(mapping_buf, key.data(), key.size()); mapping_buf += key.size(); memcpy(mapping_buf, data.data(), data.size()); return mapping; } // |GrContextOptions::PersistentCache| void PersistentCache::store(const SkData& key, const SkData& data) { stored_new_shaders_ = true; if (is_read_only_) { return; } if (!IsValid()) { return; } auto file_name = SkKeyToFilePath(key); if (file_name.empty()) { return; } std::unique_ptr<fml::MallocMapping> mapping = BuildCacheObject(key, data); if (!mapping) { return; } PersistentCacheStore(GetWorkerTaskRunner(), cache_sksl_ ? sksl_cache_directory_ : cache_directory_, std::move(file_name), std::move(mapping)); } void PersistentCache::DumpSkp(const SkData& data) { if (is_read_only_ || !IsValid()) { FML_LOG(ERROR) << "Could not dump SKP from read-only or invalid persistent " "cache."; return; } std::stringstream name_stream; auto ticks = fml::TimePoint::Now().ToEpochDelta().ToNanoseconds(); name_stream << "shader_dump_" << std::to_string(ticks) << ".skp"; std::string file_name = name_stream.str(); FML_LOG(INFO) << "Dumping " << file_name; auto mapping = std::make_unique<fml::DataMapping>( std::vector<uint8_t>{data.bytes(), data.bytes() + data.size()}); PersistentCacheStore(GetWorkerTaskRunner(), cache_directory_, std::move(file_name), std::move(mapping)); } void PersistentCache::AddWorkerTaskRunner( const fml::RefPtr<fml::TaskRunner>& task_runner) { std::scoped_lock lock(worker_task_runners_mutex_); worker_task_runners_.insert(task_runner); } void PersistentCache::RemoveWorkerTaskRunner( const fml::RefPtr<fml::TaskRunner>& task_runner) { std::scoped_lock lock(worker_task_runners_mutex_); auto found = worker_task_runners_.find(task_runner); if (found != worker_task_runners_.end()) { worker_task_runners_.erase(found); } } fml::RefPtr<fml::TaskRunner> PersistentCache::GetWorkerTaskRunner() const { fml::RefPtr<fml::TaskRunner> worker; std::scoped_lock lock(worker_task_runners_mutex_); if (!worker_task_runners_.empty()) { worker = *worker_task_runners_.begin(); } return worker; } void PersistentCache::SetAssetManager(std::shared_ptr<AssetManager> value) { TRACE_EVENT_INSTANT0("flutter", "PersistentCache::SetAssetManager"); asset_manager_ = std::move(value); } std::vector<std::unique_ptr<fml::Mapping>> PersistentCache::GetSkpsFromAssetManager() const { if (!asset_manager_) { FML_LOG(ERROR) << "PersistentCache::GetSkpsFromAssetManager: Asset manager not set!"; return std::vector<std::unique_ptr<fml::Mapping>>(); } return asset_manager_->GetAsMappings(".*\\.skp$", "shaders"); } } // namespace flutter
engine/common/graphics/persistent_cache.cc/0
{ "file_path": "engine/common/graphics/persistent_cache.cc", "repo_id": "engine", "token_count": 6426 }
148
// 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. #ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_ #define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_ #include "flutter/display_list/benchmarking/dl_complexity.h" #include "flutter/display_list/dl_blend_mode.h" #include "flutter/display_list/dl_op_receiver.h" #include "flutter/display_list/utils/dl_receiver_utils.h" namespace flutter { // The Metal and OpenGL complexity calculators use benchmark data gathered // using the display_list_benchmarks test suite on real devices. // // Constants of proportionality and trends were chosen to better match // larger numbers rather than smaller ones. This may turn out to be the // wrong decision, but the rationale here is that with the smaller numbers, // we have: // // a) More noise. // b) Less absolute difference. If the constant we've chosen is out by 50% // on a measurement that is 0.001ms, that's less of an issue than if // the measurement is 15ms. // c) Smaller numbers affect the caching decision negligibly; the caching // decision is likely to be driven by slower ops rather than faster ones. // // In some cases, a cost penalty is used to figure out the cost of an // attribute such as anti-aliasing or fill style. In some of these, the // penalty is proportional to some other value such as the radius of // a circle. In these cases, we ensure that the penalty is never smaller // than 1.0f. // // The error bars in measurement are likely quite large and will // vary from device to device, so the goal here is not to provide a // perfectly accurate representation of a given DisplayList's // complexity but rather a very rough estimate that improves upon our // previous cache admission policy (op_count > 5). // // There will likely be future work that will improve upon the figures // in here. Notably, we do not take matrices or clips into account yet. // // The scoring is based around a baseline score of 100 being roughly // equivalent to 0.0005ms of time. With a 32-bit unsigned integer, this // would set the maximum time estimate associated with the complexity score // at about 21 seconds, which far exceeds what we would ever expect a // DisplayList to take rasterising. // // Finally, care has been taken to keep the computations as cheap as possible. // We need to be able to calculate the complexity as quickly as possible // so that we don't end up wasting too much time figuring out if something // should be cached or not and eat into the time we could have just spent // rasterising the DisplayList. // // In order to keep the computations cheap, the following tradeoffs were made: // // a) Limit all computations to simple division, multiplication, addition // and subtraction. // b) Try and use integer arithmetic as much as possible. // c) If a specific draw op is logarithmic in complexity, do a best fit // onto a linear equation within the range we expect to see the variables // fall within. // // As an example of the above, let's say we have some data that looks like the // complexity is something like O(n^1/3). We would like to avoid anything too // expensive to calculate, so taking the cube root of the value to try and // calculate the time cost should be avoided. // // In this case, the approach would be to take a straight line approximation // that maps closely in the range of n where we feel it is most likely to occur. // For example, if this were drawLine, and n were the line length, and we // expected the line lengths to typically be between 50 and 100, then we would // figure out the equation of the straight line graph that approximates the // n^1/3 curve, and if possible try and choose an approximation that is more // representative in the range of [50, 100] for n. // // Once that's done, we can develop the formula as follows: // // Take y = mx + c (straight line graph chosen as per guidelines above). // Divide by however many ops the benchmark ran for a single pass. // Multiply by 200,000 to normalise 0.0005ms = 100. // Simplify down the formula. // // So if we had m = 1/5 and c = 0, and the drawLines benchmark ran 10,000 // drawLine calls per iteration: // // y (time taken) = x (line length) / 5 // y = x / 5 * 200,000 / 10,000 // y = x / 5 * 20 // y = 4x class ComplexityCalculatorHelper : public virtual DlOpReceiver, public virtual IgnoreClipDispatchHelper, public virtual IgnoreTransformDispatchHelper { public: explicit ComplexityCalculatorHelper(unsigned int ceiling) : ceiling_(ceiling) {} virtual ~ComplexityCalculatorHelper() = default; void setInvertColors(bool invert) override {} void setStrokeCap(DlStrokeCap cap) override {} void setStrokeJoin(DlStrokeJoin join) override {} void setStrokeMiter(SkScalar limit) override {} void setColor(DlColor color) override {} void setBlendMode(DlBlendMode mode) override {} void setColorSource(const DlColorSource* source) override {} void setImageFilter(const DlImageFilter* filter) override {} void setColorFilter(const DlColorFilter* filter) override {} void setPathEffect(const DlPathEffect* effect) override {} void setMaskFilter(const DlMaskFilter* filter) override {} void save() override {} // We accumulate the cost of restoring a saveLayer() in saveLayer() void restore() override {} void setAntiAlias(bool aa) override { current_paint_.setAntiAlias(aa); } void setDrawStyle(DlDrawStyle style) override { current_paint_.setDrawStyle(style); } void setStrokeWidth(SkScalar width) override { current_paint_.setStrokeWidth(width); } void drawColor(DlColor color, DlBlendMode mode) override { if (IsComplex()) { return; } // Placeholder value here. This is a relatively cheap operation. AccumulateComplexity(50); } void drawPaint() override { if (IsComplex()) { return; } // Placeholder value here. This can be cheap (e.g. effectively a drawColor), // or expensive (e.g. a bitmap shader with an image filter) AccumulateComplexity(50); } void drawImageRect( const sk_sp<DlImage> image, const SkRect& src, const SkRect& dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint = SrcRectConstraint::kFast) override { if (IsComplex()) { return; } ImageRect(image->dimensions(), image->isTextureBacked(), render_with_attributes, constraint == SrcRectConstraint::kStrict); } void drawAtlas(const sk_sp<DlImage> atlas, const SkRSXform xform[], const SkRect tex[], const DlColor colors[], int count, DlBlendMode mode, DlImageSampling sampling, const SkRect* cull_rect, bool render_with_attributes) override { if (IsComplex()) { return; } // This API just does a series of drawImage calls from the atlas // This is equivalent to calling drawImageRect lots of times for (int i = 0; i < count; i++) { ImageRect(SkISize::Make(tex[i].width(), tex[i].height()), true, render_with_attributes, true); } } // This method finalizes the complexity score calculation and returns it unsigned int ComplexityScore() { // We hit our ceiling, so return that if (IsComplex()) { return Ceiling(); } // Calculate the impact of any draw ops where the complexity is dependent // on the number of calls made. unsigned int batched_complexity = BatchedComplexity(); // Check for overflow if (Ceiling() - complexity_score_ < batched_complexity) { return Ceiling(); } return complexity_score_ + batched_complexity; } protected: void AccumulateComplexity(unsigned int complexity) { // Check to see if we will overflow by accumulating this complexity score if (ceiling_ - complexity_score_ < complexity) { is_complex_ = true; return; } complexity_score_ += complexity; } inline bool IsAntiAliased() { return current_paint_.isAntiAlias(); } inline bool IsHairline() { return current_paint_.getStrokeWidth() == 0.0f; } inline DlDrawStyle DrawStyle() { return current_paint_.getDrawStyle(); } inline bool IsComplex() { return is_complex_; } inline unsigned int Ceiling() { return ceiling_; } inline unsigned int CurrentComplexityScore() { return complexity_score_; } unsigned int CalculatePathComplexity(const SkPath& path, unsigned int line_verb_cost, unsigned int quad_verb_cost, unsigned int conic_verb_cost, unsigned int cubic_verb_cost) { int verb_count = path.countVerbs(); std::vector<uint8_t> verbs(verb_count); path.getVerbs(verbs.data(), verbs.size()); unsigned int complexity = 0; for (int i = 0; i < verb_count; i++) { switch (verbs[i]) { case SkPath::Verb::kLine_Verb: complexity += line_verb_cost; break; case SkPath::Verb::kQuad_Verb: complexity += quad_verb_cost; break; case SkPath::Verb::kConic_Verb: complexity += conic_verb_cost; break; case SkPath::Verb::kCubic_Verb: complexity += cubic_verb_cost; break; } } return complexity; } virtual void ImageRect(const SkISize& size, bool texture_backed, bool render_with_attributes, bool enforce_src_edges) = 0; // This calculates and returns the cost of draw calls which are batched and // thus have a time cost proportional to the number of draw calls made, such // as saveLayer and drawTextBlob. virtual unsigned int BatchedComplexity() = 0; private: DlPaint current_paint_; // If we exceed the ceiling (defaults to the largest number representable // by unsigned int), then set the is_complex_ bool and we no longer // accumulate. bool is_complex_ = false; unsigned int ceiling_; unsigned int complexity_score_ = 0; }; } // namespace flutter #endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_
engine/display_list/benchmarking/dl_complexity_helper.h/0
{ "file_path": "engine/display_list/benchmarking/dl_complexity_helper.h", "repo_id": "engine", "token_count": 3521 }
149
// 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. #ifndef FLUTTER_DISPLAY_LIST_DL_COLOR_H_ #define FLUTTER_DISPLAY_LIST_DL_COLOR_H_ #include "third_party/skia/include/core/SkScalar.h" namespace flutter { struct DlColor { public: constexpr DlColor() : argb_(0xFF000000) {} constexpr explicit DlColor(uint32_t argb) : argb_(argb) {} static constexpr uint8_t toAlpha(SkScalar opacity) { return toC(opacity); } static constexpr SkScalar toOpacity(uint8_t alpha) { return toF(alpha); } // clang-format off static constexpr DlColor kTransparent() {return DlColor(0x00000000);}; static constexpr DlColor kBlack() {return DlColor(0xFF000000);}; static constexpr DlColor kWhite() {return DlColor(0xFFFFFFFF);}; static constexpr DlColor kRed() {return DlColor(0xFFFF0000);}; static constexpr DlColor kGreen() {return DlColor(0xFF00FF00);}; static constexpr DlColor kBlue() {return DlColor(0xFF0000FF);}; static constexpr DlColor kCyan() {return DlColor(0xFF00FFFF);}; static constexpr DlColor kMagenta() {return DlColor(0xFFFF00FF);}; static constexpr DlColor kYellow() {return DlColor(0xFFFFFF00);}; static constexpr DlColor kDarkGrey() {return DlColor(0xFF3F3F3F);}; static constexpr DlColor kMidGrey() {return DlColor(0xFF808080);}; static constexpr DlColor kLightGrey() {return DlColor(0xFFC0C0C0);}; // clang-format on constexpr bool isOpaque() const { return getAlpha() == 0xFF; } constexpr bool isTransparent() const { return getAlpha() == 0; } constexpr int getAlpha() const { return argb_ >> 24; } constexpr int getRed() const { return (argb_ >> 16) & 0xFF; } constexpr int getGreen() const { return (argb_ >> 8) & 0xFF; } constexpr int getBlue() const { return argb_ & 0xFF; } constexpr float getAlphaF() const { return toF(getAlpha()); } constexpr float getRedF() const { return toF(getRed()); } constexpr float getGreenF() const { return toF(getGreen()); } constexpr float getBlueF() const { return toF(getBlue()); } constexpr uint32_t premultipliedArgb() const { if (isOpaque()) { return argb_; } float f = getAlphaF(); return (argb_ & 0xFF000000) | // toC(getRedF() * f) << 16 | // toC(getGreenF() * f) << 8 | // toC(getBlueF() * f); } constexpr DlColor withAlpha(uint8_t alpha) const { // return DlColor((argb_ & 0x00FFFFFF) | (alpha << 24)); } constexpr DlColor withRed(uint8_t red) const { // return DlColor((argb_ & 0xFF00FFFF) | (red << 16)); } constexpr DlColor withGreen(uint8_t green) const { // return DlColor((argb_ & 0xFFFF00FF) | (green << 8)); } constexpr DlColor withBlue(uint8_t blue) const { // return DlColor((argb_ & 0xFFFFFF00) | (blue << 0)); } constexpr DlColor modulateOpacity(float opacity) const { return opacity <= 0 ? withAlpha(0) : opacity >= 1 ? *this : withAlpha(round(getAlpha() * opacity)); } constexpr uint32_t argb() const { return argb_; } bool operator==(DlColor const& other) const { return argb_ == other.argb_; } bool operator!=(DlColor const& other) const { return argb_ != other.argb_; } bool operator==(uint32_t const& other) const { return argb_ == other; } bool operator!=(uint32_t const& other) const { return argb_ != other; } private: uint32_t argb_; static float toF(uint8_t comp) { return comp * (1.0f / 255); } static uint8_t toC(float fComp) { return round(fComp * 255); } }; } // namespace flutter #endif // FLUTTER_DISPLAY_LIST_DL_COLOR_H_
engine/display_list/dl_color.h/0
{ "file_path": "engine/display_list/dl_color.h", "repo_id": "engine", "token_count": 1531 }
150
// 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. #include "flutter/display_list/effects/dl_color_filter.h" #include "flutter/display_list/dl_color.h" namespace flutter { std::shared_ptr<DlColorFilter> DlBlendColorFilter::Make(DlColor color, DlBlendMode mode) { switch (mode) { case DlBlendMode::kDst: { return nullptr; } case DlBlendMode::kSrcOver: { if (color.isTransparent()) { return nullptr; } if (color.isOpaque()) { mode = DlBlendMode::kSrc; } break; } case DlBlendMode::kDstOver: case DlBlendMode::kDstOut: case DlBlendMode::kSrcATop: case DlBlendMode::kXor: case DlBlendMode::kDarken: { if (color.isTransparent()) { return nullptr; } break; } case DlBlendMode::kDstIn: { if (color.isOpaque()) { return nullptr; } break; } default: break; } return std::make_shared<DlBlendColorFilter>(color, mode); } bool DlBlendColorFilter::modifies_transparent_black() const { switch (mode_) { // These modes all act like kSrc when the dest is all 0s. // So they modify transparent black when the src color is // not transparent. case DlBlendMode::kSrc: case DlBlendMode::kSrcOver: case DlBlendMode::kDstOver: case DlBlendMode::kSrcOut: case DlBlendMode::kDstATop: case DlBlendMode::kXor: case DlBlendMode::kPlus: case DlBlendMode::kScreen: case DlBlendMode::kOverlay: case DlBlendMode::kDarken: case DlBlendMode::kLighten: case DlBlendMode::kColorDodge: case DlBlendMode::kColorBurn: case DlBlendMode::kHardLight: case DlBlendMode::kSoftLight: case DlBlendMode::kDifference: case DlBlendMode::kExclusion: case DlBlendMode::kMultiply: case DlBlendMode::kHue: case DlBlendMode::kSaturation: case DlBlendMode::kColor: case DlBlendMode::kLuminosity: return !color_.isTransparent(); // These modes are all like kDst when the dest is all 0s. // So they never modify transparent black. case DlBlendMode::kClear: case DlBlendMode::kDst: case DlBlendMode::kSrcIn: case DlBlendMode::kDstIn: case DlBlendMode::kDstOut: case DlBlendMode::kSrcATop: case DlBlendMode::kModulate: return false; } } bool DlBlendColorFilter::can_commute_with_opacity() const { switch (mode_) { case DlBlendMode::kClear: case DlBlendMode::kDst: case DlBlendMode::kSrcIn: case DlBlendMode::kDstIn: case DlBlendMode::kDstOut: case DlBlendMode::kSrcATop: case DlBlendMode::kModulate: return true; case DlBlendMode::kSrc: case DlBlendMode::kSrcOver: case DlBlendMode::kDstOver: case DlBlendMode::kSrcOut: case DlBlendMode::kDstATop: case DlBlendMode::kXor: case DlBlendMode::kPlus: case DlBlendMode::kScreen: case DlBlendMode::kOverlay: case DlBlendMode::kDarken: case DlBlendMode::kLighten: case DlBlendMode::kColorDodge: case DlBlendMode::kColorBurn: case DlBlendMode::kHardLight: case DlBlendMode::kSoftLight: case DlBlendMode::kDifference: case DlBlendMode::kExclusion: case DlBlendMode::kMultiply: case DlBlendMode::kHue: case DlBlendMode::kSaturation: case DlBlendMode::kColor: case DlBlendMode::kLuminosity: return color_.isTransparent(); } } std::shared_ptr<DlColorFilter> DlMatrixColorFilter::Make( const float matrix[20]) { float product = 0; for (int i = 0; i < 20; i++) { product *= matrix[i]; } // If any of the elements of the matrix are infinity or NaN, then // |product| will be NaN, otherwise 0. if (product == 0) { return std::make_shared<DlMatrixColorFilter>(matrix); } return nullptr; } bool DlMatrixColorFilter::modifies_transparent_black() const { // Values are considered in non-premultiplied form when the matrix is // applied, but we only care about this answer for whether it leaves // an incoming color with a transparent alpha as transparent on output. // Thus, we only need to consider the alpha part of the matrix equation, // which is the last row. Since the incoming alpha value is 0, the last // equation ends up becoming A' = matrix_[19]. Negative results will be // clamped to the range [0,1] so we only care about positive values. // Non-finite values are clamped to a zero alpha. return (SkScalarIsFinite(matrix_[19]) && matrix_[19] > 0); } bool DlMatrixColorFilter::can_commute_with_opacity() const { // We need to check if: // filter(color) * opacity == filter(color * opacity). // // filter(RGBA) = R' = [ R*m[ 0] + G*m[ 1] + B*m[ 2] + A*m[ 3] + m[ 4] ] // G' = [ R*m[ 5] + G*m[ 6] + B*m[ 7] + A*m[ 8] + m[ 9] ] // B' = [ R*m[10] + G*m[11] + B*m[12] + A*m[13] + m[14] ] // A' = [ R*m[15] + G*m[16] + B*m[17] + A*m[18] + m[19] ] // // Applying the opacity only affects the alpha value since the operations // are performed on non-premultiplied colors. (If the data is stored in // premultiplied form, though, there may be rounding errors due to // premul->unpremul->premul conversions.) // We test for the successful cases and return false if they fail so that // we fail and return false if any matrix values are NaN. // If any of the alpha column are non-zero then the prior alpha affects // the result color, so applying opacity before the filter will change // the incoming alpha and therefore the colors that are produced. if (!(matrix_[3] == 0 && // A does not affect R' matrix_[8] == 0 && // A does not affect G' matrix_[13] == 0)) { // A does not affect B' return false; } // Similarly, if any of the alpha row are non-zero then the prior colors // affect the result alpha in a way that prevents opacity from commuting // through the filter operation. if (!(matrix_[15] == 0 && // R does not affect A' matrix_[16] == 0 && // G does not affect A' matrix_[17] == 0 && // B does not affect A' matrix_[19] == 0)) { // A' is not offset by an absolute value return false; } return true; } const std::shared_ptr<DlSrgbToLinearGammaColorFilter> DlSrgbToLinearGammaColorFilter::kInstance = std::make_shared<DlSrgbToLinearGammaColorFilter>(); const std::shared_ptr<DlLinearToSrgbGammaColorFilter> DlLinearToSrgbGammaColorFilter::kInstance = std::make_shared<DlLinearToSrgbGammaColorFilter>(); } // namespace flutter
engine/display_list/effects/dl_color_filter.cc/0
{ "file_path": "engine/display_list/effects/dl_color_filter.cc", "repo_id": "engine", "token_count": 2770 }
151
// 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. #ifndef FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_ #define FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_ #include <memory> #include "flutter/fml/macros.h" #include "flutter/impeller/runtime_stage/runtime_stage.h" #include "third_party/skia/include/core/SkRefCnt.h" #include "third_party/skia/include/effects/SkRuntimeEffect.h" namespace flutter { class DlRuntimeEffect : public SkRefCnt { public: static sk_sp<DlRuntimeEffect> MakeSkia( const sk_sp<SkRuntimeEffect>& runtime_effect); static sk_sp<DlRuntimeEffect> MakeImpeller( std::shared_ptr<impeller::RuntimeStage> runtime_stage); virtual sk_sp<SkRuntimeEffect> skia_runtime_effect() const = 0; virtual std::shared_ptr<impeller::RuntimeStage> runtime_stage() const = 0; protected: DlRuntimeEffect(); virtual ~DlRuntimeEffect(); private: FML_DISALLOW_COPY_AND_ASSIGN(DlRuntimeEffect); }; class DlRuntimeEffectSkia final : public DlRuntimeEffect { public: explicit DlRuntimeEffectSkia(const sk_sp<SkRuntimeEffect>& runtime_effect); // |DlRuntimeEffect| sk_sp<SkRuntimeEffect> skia_runtime_effect() const override; // |DlRuntimeEffect| std::shared_ptr<impeller::RuntimeStage> runtime_stage() const override; private: DlRuntimeEffectSkia() = delete; // |DlRuntimeEffect| ~DlRuntimeEffectSkia() override; sk_sp<SkRuntimeEffect> skia_runtime_effect_; FML_DISALLOW_COPY_AND_ASSIGN(DlRuntimeEffectSkia); friend DlRuntimeEffect; }; class DlRuntimeEffectImpeller final : public DlRuntimeEffect { public: explicit DlRuntimeEffectImpeller( std::shared_ptr<impeller::RuntimeStage> runtime_stage); // |DlRuntimeEffect| sk_sp<SkRuntimeEffect> skia_runtime_effect() const override; // |DlRuntimeEffect| std::shared_ptr<impeller::RuntimeStage> runtime_stage() const override; private: DlRuntimeEffectImpeller() = delete; // |DlRuntimeEffect| ~DlRuntimeEffectImpeller() override; std::shared_ptr<impeller::RuntimeStage> runtime_stage_; FML_DISALLOW_COPY_AND_ASSIGN(DlRuntimeEffectImpeller); friend DlRuntimeEffect; }; } // namespace flutter #endif // FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_
engine/display_list/effects/dl_runtime_effect.h/0
{ "file_path": "engine/display_list/effects/dl_runtime_effect.h", "repo_id": "engine", "token_count": 815 }
152
// 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. #include "flutter/display_list/skia/dl_sk_dispatcher.h" #include "flutter/display_list/dl_blend_mode.h" #include "flutter/display_list/skia/dl_sk_conversions.h" #include "flutter/display_list/skia/dl_sk_types.h" #include "flutter/fml/trace_event.h" #include "third_party/skia/include/utils/SkShadowUtils.h" namespace flutter { const SkPaint* DlSkCanvasDispatcher::safe_paint(bool use_attributes) { if (use_attributes) { // The accumulated SkPaint object will already have incorporated // any attribute overrides. // Any rendering operation that uses an optional paint will ignore // the shader in the paint so we inform that |paint()| method so // that it can set the dither flag appropriately. return &paint(false); } else if (has_opacity()) { temp_paint_.setAlphaf(opacity()); return &temp_paint_; } else { return nullptr; } } void DlSkCanvasDispatcher::save() { canvas_->save(); // save has no impact on attributes, but it needs to register a record // on the restore stack so that the eventual call to restore() will // know what to do at that time. We could annotate the restore record // with a flag that the record came from a save call, but it is simpler // to just pass in the current opacity value as the value to be used by // the children and let the utility calls notice that it didn't change. save_opacity(opacity()); } void DlSkCanvasDispatcher::restore() { canvas_->restore(); restore_opacity(); } void DlSkCanvasDispatcher::saveLayer(const SkRect& bounds, const SaveLayerOptions options, const DlImageFilter* backdrop) { if (!options.content_is_clipped() && options.can_distribute_opacity() && backdrop == nullptr) { // We know that: // - no bounds is needed for clipping here // - no backdrop filter is used to initialize the layer // - the current attributes only have an alpha // - the children are compatible with individually rendering with // an inherited opacity // Therefore we can just use a save instead of a saveLayer and pass the // intended opacity to the children. canvas_->save(); // If the saveLayer does not use attributes, the children should continue // to render with the inherited opacity unmodified. If attributes are to // be applied, the children should render with the combination of the // inherited opacity combined with the alpha from the current color. save_opacity(options.renders_with_attributes() ? combined_opacity() : opacity()); } else { TRACE_EVENT0("flutter", "Canvas::saveLayer"); const SkPaint* paint = safe_paint(options.renders_with_attributes()); const sk_sp<SkImageFilter> sk_backdrop = ToSk(backdrop); const SkRect* sl_bounds = options.bounds_from_caller() ? &bounds : nullptr; canvas_->saveLayer( SkCanvas::SaveLayerRec(sl_bounds, paint, sk_backdrop.get(), 0)); // saveLayer will apply the current opacity on behalf of the children // so they will inherit an opaque opacity. save_opacity(SK_Scalar1); } } void DlSkCanvasDispatcher::translate(SkScalar tx, SkScalar ty) { canvas_->translate(tx, ty); } void DlSkCanvasDispatcher::scale(SkScalar sx, SkScalar sy) { canvas_->scale(sx, sy); } void DlSkCanvasDispatcher::rotate(SkScalar degrees) { canvas_->rotate(degrees); } void DlSkCanvasDispatcher::skew(SkScalar sx, SkScalar sy) { canvas_->skew(sx, sy); } // clang-format off // 2x3 2D affine subset of a 4x4 transform in row major order void DlSkCanvasDispatcher::transform2DAffine( SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt) { // Internally concat(SkMatrix) gets redirected to concat(SkM44) // so we just jump directly to the SkM44 version canvas_->concat(SkM44(mxx, mxy, 0, mxt, myx, myy, 0, myt, 0, 0, 1, 0, 0, 0, 0, 1)); } // full 4x4 transform in row major order void DlSkCanvasDispatcher::transformFullPerspective( SkScalar mxx, SkScalar mxy, SkScalar mxz, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myz, SkScalar myt, SkScalar mzx, SkScalar mzy, SkScalar mzz, SkScalar mzt, SkScalar mwx, SkScalar mwy, SkScalar mwz, SkScalar mwt) { canvas_->concat(SkM44(mxx, mxy, mxz, mxt, myx, myy, myz, myt, mzx, mzy, mzz, mzt, mwx, mwy, mwz, mwt)); } // clang-format on void DlSkCanvasDispatcher::transformReset() { canvas_->setMatrix(original_transform_); } void DlSkCanvasDispatcher::clipRect(const SkRect& rect, ClipOp clip_op, bool is_aa) { canvas_->clipRect(rect, ToSk(clip_op), is_aa); } void DlSkCanvasDispatcher::clipRRect(const SkRRect& rrect, ClipOp clip_op, bool is_aa) { canvas_->clipRRect(rrect, ToSk(clip_op), is_aa); } void DlSkCanvasDispatcher::clipPath(const SkPath& path, ClipOp clip_op, bool is_aa) { canvas_->clipPath(path, ToSk(clip_op), is_aa); } void DlSkCanvasDispatcher::drawPaint() { const SkPaint& sk_paint = paint(); SkImageFilter* filter = sk_paint.getImageFilter(); if (filter && !filter->asColorFilter(nullptr)) { // drawPaint does an implicit saveLayer if an SkImageFilter is // present that cannot be replaced by an SkColorFilter. TRACE_EVENT0("flutter", "Canvas::saveLayer"); } canvas_->drawPaint(sk_paint); } void DlSkCanvasDispatcher::drawColor(DlColor color, DlBlendMode mode) { // SkCanvas::drawColor(SkColor) does the following conversion anyway // We do it here manually to increase precision on applying opacity SkColor4f color4f = SkColor4f::FromColor(ToSk(color)); color4f.fA *= opacity(); canvas_->drawColor(color4f, ToSk(mode)); } void DlSkCanvasDispatcher::drawLine(const SkPoint& p0, const SkPoint& p1) { canvas_->drawLine(p0, p1, paint()); } void DlSkCanvasDispatcher::drawRect(const SkRect& rect) { canvas_->drawRect(rect, paint()); } void DlSkCanvasDispatcher::drawOval(const SkRect& bounds) { canvas_->drawOval(bounds, paint()); } void DlSkCanvasDispatcher::drawCircle(const SkPoint& center, SkScalar radius) { canvas_->drawCircle(center, radius, paint()); } void DlSkCanvasDispatcher::drawRRect(const SkRRect& rrect) { canvas_->drawRRect(rrect, paint()); } void DlSkCanvasDispatcher::drawDRRect(const SkRRect& outer, const SkRRect& inner) { canvas_->drawDRRect(outer, inner, paint()); } void DlSkCanvasDispatcher::drawPath(const SkPath& path) { canvas_->drawPath(path, paint()); } void DlSkCanvasDispatcher::drawArc(const SkRect& bounds, SkScalar start, SkScalar sweep, bool useCenter) { canvas_->drawArc(bounds, start, sweep, useCenter, paint()); } void DlSkCanvasDispatcher::drawPoints(PointMode mode, uint32_t count, const SkPoint pts[]) { canvas_->drawPoints(ToSk(mode), count, pts, paint()); } void DlSkCanvasDispatcher::drawVertices(const DlVertices* vertices, DlBlendMode mode) { canvas_->drawVertices(ToSk(vertices), ToSk(mode), paint()); } void DlSkCanvasDispatcher::drawImage(const sk_sp<DlImage> image, const SkPoint point, DlImageSampling sampling, bool render_with_attributes) { canvas_->drawImage(image ? image->skia_image() : nullptr, point.fX, point.fY, ToSk(sampling), safe_paint(render_with_attributes)); } void DlSkCanvasDispatcher::drawImageRect(const sk_sp<DlImage> image, const SkRect& src, const SkRect& dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint) { canvas_->drawImageRect(image ? image->skia_image() : nullptr, src, dst, ToSk(sampling), safe_paint(render_with_attributes), ToSk(constraint)); } void DlSkCanvasDispatcher::drawImageNine(const sk_sp<DlImage> image, const SkIRect& center, const SkRect& dst, DlFilterMode filter, bool render_with_attributes) { if (!image) { return; } auto skia_image = image->skia_image(); if (!skia_image) { return; } canvas_->drawImageNine(skia_image.get(), center, dst, ToSk(filter), safe_paint(render_with_attributes)); } void DlSkCanvasDispatcher::drawAtlas(const sk_sp<DlImage> atlas, const SkRSXform xform[], const SkRect tex[], const DlColor colors[], int count, DlBlendMode mode, DlImageSampling sampling, const SkRect* cullRect, bool render_with_attributes) { if (!atlas) { return; } auto skia_atlas = atlas->skia_image(); if (!skia_atlas) { return; } const SkColor* sk_colors = reinterpret_cast<const SkColor*>(colors); canvas_->drawAtlas(skia_atlas.get(), xform, tex, sk_colors, count, ToSk(mode), ToSk(sampling), cullRect, safe_paint(render_with_attributes)); } void DlSkCanvasDispatcher::drawDisplayList( const sk_sp<DisplayList> display_list, SkScalar opacity) { const int restore_count = canvas_->getSaveCount(); // Compute combined opacity and figure out whether we can apply it // during dispatch or if we need a saveLayer. SkScalar combined_opacity = opacity * this->opacity(); if (combined_opacity < SK_Scalar1 && !display_list->can_apply_group_opacity()) { TRACE_EVENT0("flutter", "Canvas::saveLayer"); canvas_->saveLayerAlphaf(&display_list->bounds(), combined_opacity); combined_opacity = SK_Scalar1; } else { canvas_->save(); } // Create a new CanvasDispatcher to isolate the actions of the // display_list from the current environment. DlSkCanvasDispatcher dispatcher(canvas_, combined_opacity); if (display_list->rtree()) { display_list->Dispatch(dispatcher, canvas_->getLocalClipBounds()); } else { display_list->Dispatch(dispatcher); } // Restore canvas state to what it was before dispatching. canvas_->restoreToCount(restore_count); } void DlSkCanvasDispatcher::drawTextBlob(const sk_sp<SkTextBlob> blob, SkScalar x, SkScalar y) { canvas_->drawTextBlob(blob, x, y, paint()); } void DlSkCanvasDispatcher::drawTextFrame( const std::shared_ptr<impeller::TextFrame>& text_frame, SkScalar x, SkScalar y) { FML_CHECK(false); } void DlSkCanvasDispatcher::DrawShadow(SkCanvas* canvas, const SkPath& path, DlColor color, float elevation, bool transparentOccluder, SkScalar dpr) { const SkScalar kAmbientAlpha = 0.039f; const SkScalar kSpotAlpha = 0.25f; uint32_t flags = transparentOccluder ? SkShadowFlags::kTransparentOccluder_ShadowFlag : SkShadowFlags::kNone_ShadowFlag; flags |= SkShadowFlags::kDirectionalLight_ShadowFlag; SkColor in_ambient = SkColorSetA(ToSk(color), kAmbientAlpha * color.getAlpha()); SkColor in_spot = SkColorSetA(ToSk(color), kSpotAlpha * color.getAlpha()); SkColor ambient_color, spot_color; SkShadowUtils::ComputeTonalColors(in_ambient, in_spot, &ambient_color, &spot_color); SkShadowUtils::DrawShadow( canvas, path, SkPoint3::Make(0, 0, dpr * elevation), SkPoint3::Make(0, -1, 1), DlCanvas::kShadowLightRadius / DlCanvas::kShadowLightHeight, ambient_color, spot_color, flags); } void DlSkCanvasDispatcher::drawShadow(const SkPath& path, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) { DrawShadow(canvas_, path, color, elevation, transparent_occluder, dpr); } } // namespace flutter
engine/display_list/skia/dl_sk_dispatcher.cc/0
{ "file_path": "engine/display_list/skia/dl_sk_dispatcher.cc", "repo_id": "engine", "token_count": 6164 }
153