DeviceInfo constructor

DeviceInfo({
  1. String? uniqueId,
  2. String? platformName,
  3. PlatformType? platformType,
})

Implementation

factory DeviceInfo({
  $core.String? uniqueId,
  $core.String? platformName,
  PlatformType? platformType,
}) {
  final _result = create();
  if (uniqueId != null) {
    _result.uniqueId = uniqueId;
  }
  if (platformName != null) {
    _result.platformName = platformName;
  }
  if (platformType != null) {
    _result.platformType = platformType;
  }
  return _result;
}