DisclaimerFileDisplayFunction<D> typedef

DisclaimerFileDisplayFunction<D> = D Function({required String copyright, required File? licenseFile, required String licenseName, required String packageName, required String sourceLocation})

Type defintion for the function that formats the display of the disclaimer based on the license for a file.

Implementation

typedef DisclaimerFileDisplayFunction<D> = D Function({
  required String packageName,
  required String licenseName,
  required String copyright,
  required String sourceLocation,
  required File? licenseFile,
});