LicenseDisplayFunction<D> typedef

LicenseDisplayFunction<D> = D Function({required String licenseName, required LicenseStatus licenseStatus, required String packageName})

Type defintion for the function that formats the display of the parsed license result.

Implementation

typedef LicenseDisplayFunction<D> = D Function({
  required String packageName,
  required LicenseStatus licenseStatus,
  required String licenseName,
});