NoticeReference.fromAsn1 constructor

NoticeReference.fromAsn1(
  1. ASN1Sequence sequence
)

The ASN.1 definition is:

NoticeReference ::= SEQUENCE { organization DisplayText, noticeNumbers SEQUENCE OF INTEGER }

Implementation

factory NoticeReference.fromAsn1(ASN1Sequence sequence) {
  return NoticeReference(
      organization: toDart(sequence.elements[0]),
      noticeNumbers: toDart(sequence.elements[1]));
}