initLicenses method Null safety

  1. @override
void initLicenses()
override

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

@override
// ignore: must_call_super
void initLicenses() {
  // Do not include any licenses, because we're a test, and the LICENSE file
  // doesn't get generated for tests.
}