canParse static method

bool canParse(
  1. Object? obj
)
override

Implementation

static bool canParse(Object? obj) {
  if (obj is! Map<String, dynamic>) {
    return false;
  }
  if (obj['includeAll'] is! bool?) {
    return false;
  }
  if (obj['line'] is! bool?) {
    return false;
  }
  if (obj['module'] is! bool?) {
    return false;
  }
  if (obj['parameterNames'] is! bool?) {
    return false;
  }
  if (obj['parameterTypes'] is! bool?) {
    return false;
  }
  if (obj['parameterValues'] is! bool?) {
    return false;
  }
  if (obj['parameters'] is! bool?) {
    return false;
  }
  return ValueFormat.canParse(obj);
}