version property Null safety

int version

The version number of the message.

Implementation

int get version {
  final ver = _data.elements![0] as ASN1Integer;
  return ver.integer!.toInt();
}