fromString static method
Converts user readable string to TestPlatform
Implementation
static TestPlatform? fromString(String? value) {
switch (value?.toLowerCase()) {
case 'android':
return TestPlatform.android;
case 'ios':
return TestPlatform.iOS;
default:
return null;
}
}