getDeviceInfo method

Future<BaseDeviceInfo> getDeviceInfo()

Implementation

Future<BaseDeviceInfo> getDeviceInfo() async {
  _baseDeviceInfo ??= await DeviceInfoPlugin().deviceInfo;
  return _baseDeviceInfo!;
}