thaiIdInfo property

ThaiIdInfo? get thaiIdInfo

Parse the Thai ID card number to extract information. Returns null if the ID is invalid (length check).

Implementation

ThaiIdInfo? get thaiIdInfo {
  try {
    return ThaiIdInfo.parse(this);
  } catch (_) {
    return null;
  }
}