DeviceBootStatus constructor

DeviceBootStatus({
  1. Timestamp? lastBoot,
  2. bool? inFactory,
  3. Timestamp? lastFactoryBoot,
})

Implementation

factory DeviceBootStatus({
  $0.Timestamp? lastBoot,
  $core.bool? inFactory,
  $0.Timestamp? lastFactoryBoot,
}) {
  final _result = create();
  if (lastBoot != null) {
    _result.lastBoot = lastBoot;
  }
  if (inFactory != null) {
    _result.inFactory = inFactory;
  }
  if (lastFactoryBoot != null) {
    _result.lastFactoryBoot = lastFactoryBoot;
  }
  return _result;
}