parse static method

FdcGuid parse(
  1. String text
)

Parses a canonical GUID string.

Throws FormatException when text is not a valid GUID.

Implementation

static FdcGuid parse(String text) {
  final parsed = tryParse(text);
  if (parsed == null) {
    throw FormatException('Invalid FdcGuid value.', text);
  }
  return parsed;
}