handleCommandClassNotification method

  1. @override
T? handleCommandClassNotification(
  1. List<int> data
)

Implementation

@override
T? handleCommandClassNotification(List<int> data) {
  if (data.length > 8 &&
      data[8] == NOTIFICATION_REPORT &&
      this is NotificationReportHandler)
    return (this as NotificationReportHandler)
        .dispatchNotificationReport(data) as T;
  return super.handleCommandClassNotification(data);
}