dictionary property
DeviceVendorInfoDictionary
get
dictionary
Obtain DeviceVendorInfoDictionary 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 DeviceVendorInfoDictionary dictionary = SampleDictionary();
// Other implementations
}
// Incorrect example
base class InvalidLoader extends ProductiveDeviceVendorLoader {
@override
DeviceVendorInfoDictionary get dictionary => SampleDictionary();
}
Implementation
DeviceVendorInfoDictionary get dictionary;