canParse static method

bool canParse(
  1. Object? obj
)

Implementation

static bool canParse(Object? obj) {
  if (obj is! Map<String, dynamic>) {
    return false;
  }
  if (obj['processId'] is! int?) {
    return false;
  }
  if (obj['shellProcessId'] is! int?) {
    return false;
  }
  return true;
}