isLegacyNotifications method

bool isLegacyNotifications()

does this connection only support legacy notifications

Implementation

bool isLegacyNotifications() {
  return supportedVersions.length == 1 && supportedVersions.first == "0.0" ||
      !supportedVersions.any((e) => e != "0.0");
}