version property

String? get version

Jolt's version, major.minor.patch; null when it is not available.

Implementation

static String? get version {
  if (!isAvailable) return null;
  final v = jj_version();
  return '${v >> 16}.${(v >> 8) & 0xFF}.${v & 0xFF}';
}