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.
}