all static method

List<LicenseRecord> all(
  1. String ptr, {
  2. String? origin = null,
})

Returns all LicenseRecords associated with a given Pointer Record.

Use this method to retrieve all LicenseRecords that have been previously stored for a given Pointer Record in your system.

  • Parameters:
    • ptr: The Pointer Record that identifies the data stored in your system, similar to a foreign key.
    • origin: An optional origin. If null, the origin defaults to the package name.
  • Returns: An array of all LicenseRecords associated with the given Pointer Record. If no LicenseRecords are found, an empty array is returned.

Implementation

static List<LicenseRecord> all(String ptr, {String? origin = null}) {
  _throwIfNotInitialized();
  return instance._core!.all(ptr, origin: origin);
}