encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    current,
    pulseWidth,
    frequency,
    stimulusDuration,
  ];
}