Nau7802Config constructor

Nau7802Config({
  1. int? zeroOffset,
  2. double? calibrationFactor,
})

Implementation

factory Nau7802Config({
  $core.int? zeroOffset,
  $core.double? calibrationFactor,
}) {
  final result = create();
  if (zeroOffset != null) result.zeroOffset = zeroOffset;
  if (calibrationFactor != null) result.calibrationFactor = calibrationFactor;
  return result;
}