Fragment$MyDevice constructor

Fragment$MyDevice({
  1. required String id,
  2. String? alias,
  3. required String serial,
  4. required int allTimesHighConsumption,
  5. required int allTimesHighProduction,
  6. required bool hasProduction,
  7. int? blinksPerKwh,
  8. String? errorCode,
  9. required double rmsCurrentMaxPerPhaseAmpere,
  10. required Fragment$MyDevice$deviceType deviceType,
  11. required List<Fragment$MyDevice$remoteDevices> remoteDevices,
  12. Fragment$MyDevice$baseDevice? baseDevice,
  13. String $__typename = 'CoreDevice',
})

Implementation

Fragment$MyDevice({
  required this.id,
  this.alias,
  required this.serial,
  required this.allTimesHighConsumption,
  required this.allTimesHighProduction,
  required this.hasProduction,
  this.blinksPerKwh,
  this.errorCode,
  required this.rmsCurrentMaxPerPhaseAmpere,
  required this.deviceType,
  required this.remoteDevices,
  this.baseDevice,
  this.$__typename = 'CoreDevice',
});