handleMeterReport method

  1. @override
T? handleMeterReport(
  1. MeterReport report
)

Implementation

@override
T? handleMeterReport(MeterReport report) {
  switch (report.type) {
    case METER_ELECTRICAL:
      return handleElectricalMeterReport(report);
    default:
      return unhandledReport('MeterReport', report);
  }
}