Name constructor
const
Name(
- Either<
ValueObjectFailure< valueString> , String>
Name is the default constructor of this class. It should NOT
be used to
create a new instance of Name. It's here solely for the purpose to satisfy the compiler
since JsonSerializable
demands for it. Always use Name.withValue(value) constructor
Implementation
const Name(this.value);