exportRawVendorInfoToJson function
Return original hardware metadata into String key JSON format.
Implementation
Future<Map<String, dynamic>> exportRawVendorInfoToJson() async {
final DeviceVendorInfoLoader loader = DeviceVendorInfo.instance;
if (loader is ProductiveDeviceVendorInfoLoader) {
return loader.dictionary.toSynced();
}
return const <String, dynamic>{};
}