toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() => {
      'voltage': voltage,
      'timeSinceSampleStart': timeSinceSampleStart,
    };