validate static method
Validate SDK installation for a project
Implementation
static List<VerificationResult> validate(
String projectPath,
ProjectType projectType,
) {
final results = <VerificationResult>[];
if (projectType == ProjectType.flutter) {
results.addAll(_validateFlutter(projectPath));
} else if (projectType == ProjectType.android) {
results.addAll(_validateAndroid(projectPath));
} else if (projectType == ProjectType.ios) {
results.addAll(_validateIos(projectPath));
} else if (projectType == ProjectType.reactNative) {
results.addAll(_validateReactNative(projectPath));
}
return results;
}