getDeviceInfo property Null safety

Future<String?> getDeviceInfo

Implementation

static Future<String?> get getDeviceInfo async {
  final Object? deviceInfo = await _channel.invokeMethod('getDeviceInfo');
  return deviceInfo.toString();
}