dictionary property

VendorDictionary get dictionary

Obtain VendorDictionary for finding entity of hardware information.

All extended classes must define it as final property scope rather than a getter:

// Correct example
base class SampleLoader extends ProductiveDeviceVendorLoader {
  @override
  final VendorVDictionary dictionary = SampleDictionary();

  // Other implementations
}

// Incorrect example
base class InvalidLoader extends ProductiveDeviceVendorLoader {
  @override
  VendorDictionary get dictionary => SampleDictionary();
}

Implementation

VendorDictionary get dictionary;