encapsulatedContent property Null safety

Uint8List? encapsulatedContent

Encapsulated message content

Implementation

Uint8List? get encapsulatedContent {
  final content = _data.elements![2] as ASN1Sequence;
  if (content.elements!.length > 1) {
    final eContent = content.elements![1] as ASN1OctetString;
    return eContent.octets!;
  }
  return null;
}