validate method

List<String> validate()

Validates the configuration and returns any errors

Implementation

List<String> validate() {
  final errors = <String>[];

  if (pageName != null && featureName == null) {
    errors.add(
        'Page name specified but feature name is missing. Both are required.');
  }

  return errors;
}