getChecksum method

String? getChecksum()

Returns the checksum for the VIN. Note that in the case of the EU region checksums are not implemented, so this becomes a no-op. More information is provided in ISO 3779:2009.

Implementation

String? getChecksum() {
  return (getRegion() != "EU") ? normalize(this.number)[8] : null;
}