getBrand static method
设备品牌
Implementation
static Future<String> getBrand() async {
Map<String, dynamic> deviceData = await getDeviceData();
if (kIsWeb) {
return '';
} else if (Platform.isAndroid) {
return deviceData['brand'];
} else if (Platform.isIOS) {
return deviceData['name'];
} else {
return '';
}
}