toValue method
Implementation
String toValue() {
switch (this) {
case DevicePlatform.android:
return 'ANDROID';
case DevicePlatform.ios:
return 'IOS';
}
}
String toValue() {
switch (this) {
case DevicePlatform.android:
return 'ANDROID';
case DevicePlatform.ios:
return 'IOS';
}
}