verifyCurrentSettings method

List<ArgumentError> verifyCurrentSettings({
  1. bool? throwError,
})

Verifies current settings.

Settings are not allowed to be null. fieldDelimiter, textDelimiter, eol must be distinct and not the start of another parameter. For instance, if fieldDelimiter is ',' then textDelimiter may not be ',|,'. If textEndDelimiter is different to textDelimiter the same rules apply.

Returns either an empty list, if there are not errors, or a list of errors. If throwError throws an error if a setting is invalid.

Implementation

List<ArgumentError> verifyCurrentSettings({bool? throwError}) {
  return verifySettings(fieldDelimiter, textDelimiter, textEndDelimiter, eol,
      throwError: throwError);
}