getDeviceInfo method
Implementation
@override
Future<DeviceInfo> getDeviceInfo() async {
Map<dynamic, dynamic> appInfo = await methodChannel.invokeMethod(
'getDeviceInfo',
);
return DeviceInfo.fromJson(appInfo);
}
@override
Future<DeviceInfo> getDeviceInfo() async {
Map<dynamic, dynamic> appInfo = await methodChannel.invokeMethod(
'getDeviceInfo',
);
return DeviceInfo.fromJson(appInfo);
}