canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if ((obj['exceptionOptions'] is! List ||
(obj['exceptionOptions']
.any((item) => !ExceptionOptions.canParse(item))))) {
return false;
}
if ((obj['filterOptions'] is! List ||
(obj['filterOptions']
.any((item) => !ExceptionFilterOptions.canParse(item))))) {
return false;
}
if ((obj['filters'] is! List ||
(obj['filters'].any((item) => item is! String)))) {
return false;
}
return RequestArguments.canParse(obj);
}