value property

dynamic get value

Implementation

dynamic get value {
  var sub = block?.sub;
  if (sub != null && sub.length > 0) {
    ASN1Object? valueBlock;
    try {
      valueBlock = sub.last;
    } catch (e) {}
    if (valueBlock != null) {
      return firstLeafValue(block: valueBlock);
    }
  }
  return null;
}