validate abstract method

bool validate(
  1. String? data
)

Validates the data integrity. It assumes that the check digit is appended at end of the data.

Implementation

bool validate(String? data);