asDartCode method

String asDartCode()

Returns dart code that constructs th object.

Implementation

String asDartCode() {
  return 'ValueSampler('
      'initialValue: $initialValue, '
      'deltaAvg: $deltaAvg, '
      'deltaMax: $deltaMax, '
      'absAvg: $absAvg, '
      'absMax: $absMax, '
      'samples: $samples,)';
}