extractNis static method

String? extractNis(
  1. String? naturalPersonBlock
)

NIS/PIS/PASEP stored at [19, 30) of the natural-person block.

Returns null when the field is absent or filled with zeroes, which is how CAs mark "not informed".

Implementation

static String? extractNis(String? naturalPersonBlock) =>
    _fieldOrNull(naturalPersonBlock, _nisStart, _nisEnd);