toValue method

String toValue()

Implementation

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