fromJson static method

UuidValue fromJson(
  1. dynamic value
)

Returns a deserialized version of the UuidValue.

Implementation

static UuidValue fromJson(dynamic value) {
  if (value is UuidValue) return value;
  return UuidValue.withValidation(value as String);
}