record_use 0.3.0 copy "record_use: ^0.3.0" to clipboard
record_use: ^0.3.0 copied to clipboard

The serialization logic and API for the usage recording SDK feature.

example/record_use_example.dart

// Copyright (c) 2024, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:record_use/record_use.dart';

void doStuff(RecordedUsages usage, Identifier callId, Identifier referenceId) {
  print(usage.metadata);
  print(usage.argumentsTo(callId));
  print(usage.instancesOf(referenceId));
  print(usage.hasNonConstArguments(callId));
}
0
likes
150
points
2.28k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

The serialization logic and API for the usage recording SDK feature.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, pub_semver

More

Packages that depend on record_use