validateFormat method

void validateFormat([
  1. bool noDashes = false
])

validateFormat() validates the internal string representation format of the uuid. Throws FormatException if the UUID format is invalid.

Implementation

void validateFormat([bool noDashes = false]) {
  UuidValidation.isValidFormatOrThrow(fromString: uuid, noDashes: noDashes);
}