AppInfo constructor
AppInfo({})
Implementation
factory AppInfo({
Platform? platform,
Mode? mode,
$core.String? deviceName,
$core.int? autoApiVersion,
$core.double? devicePixelRatio,
$core.double? textScaleFactor,
$core.double? physicalHeight,
$core.double? physicalWidth,
}) {
final _result = create();
if (platform != null) {
_result.platform = platform;
}
if (mode != null) {
_result.mode = mode;
}
if (deviceName != null) {
_result.deviceName = deviceName;
}
if (autoApiVersion != null) {
_result.autoApiVersion = autoApiVersion;
}
if (devicePixelRatio != null) {
_result.devicePixelRatio = devicePixelRatio;
}
if (textScaleFactor != null) {
_result.textScaleFactor = textScaleFactor;
}
if (physicalHeight != null) {
_result.physicalHeight = physicalHeight;
}
if (physicalWidth != null) {
_result.physicalWidth = physicalWidth;
}
return _result;
}