Name.withValue constructor Null safety

Name.withValue(
  1. String value
)

Name constructor is used in instance when the name must be provided. Example useCase;

Implementation

factory Name.withValue(String value) {
  return Name._(right(value));
}