isValidUUID method - Uuid class - uuid library - Dart API
Description: API docs for the isValidUUID method from the Uuid class, for the Dart programming language.

# isValidUUID static method

bool isValidUUID({

1. String fromString = '',
2. Uint8List? fromByteList,
3. ValidationMode validationMode = ValidationMode.strictRFC9562,
4. bool noDashes = false,

})

Validates the provided `uuid` to make sure it has all the necessary components and formatting and returns a bool You can choose to validate from a string or from a byte list based on which parameter is passed.

## Implementation

    static bool isValidUUID(
        {String fromString = '',
        Uint8List? fromByteList,
        ValidationMode validationMode = ValidationMode.strictRFC9562,
        bool noDashes = false}) {
      return UuidValidation.isValidUUID(
          fromString: fromString,
          fromByteList: fromByteList,
          validationMode: validationMode,
          noDashes: noDashes);
    }