initLicenses method

  1. @protected
  2. @mustCallSuper
void initLicenses()

Adds relevant licenses to the LicenseRegistry.

By default, the ServicesBinding's implementation of initLicenses adds all the licenses collected by the flutter tool during compilation.

Implementation

@protected
@mustCallSuper
void initLicenses() {
  LicenseRegistry.addLicense(_addLicenses);
}