apply method
Apply applies the given options to the config, returning the first error encountered (if any).
Implementation
Future<void> apply(List<Option> opts) async {
  for (final opt in opts) {
    if (opt == null) continue;
    await opt(this);
  }
}