获取设备信息
static Future<Map<String, dynamic>> getDeviceInfo() async { final deviceInfoPlugin = DeviceInfoPlugin(); final deviceInfo = await deviceInfoPlugin.deviceInfo; return deviceInfo.data; }