getDeviceInfo method
Implementation
@override
Future<Map<String, dynamic>> getDeviceInfo() async {
  final dynamic response = await methodChannel.invokeMethod('getDeviceInfo');
  // 转换为JSON字符串再解析
  final jsonString = jsonEncode(response);
  return jsonDecode(jsonString) as Map<String, dynamic>;
}