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