toFormattedString method

String toFormattedString({
  1. bool validate = false,
})

Implementation

String toFormattedString({bool validate = false}) {
  return UuidParsing.unparse(UuidParsing.parse(uuid,
      validate: validate, noDashes: !uuid.contains('-')));
}