build method
Builds an instance of Namefully from the previously collected names.
Regardless of how the names are added, both first and last names must exist to complete a fine build. Otherwise, it throws an NameException.
Implementation
@override
Namefully build([Config? config]) {
prebuild?.call();
final names = _queue.toList();
ListNameValidator().validate(names);
_context = Namefully.of(names, config: config);
postbuild?.call(_context!);
return _context!;
}