toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Platform.apns:
      return 'APNS';
    case Platform.apnsSandbox:
      return 'APNS_SANDBOX';
    case Platform.gcm:
      return 'GCM';
    case Platform.adm:
      return 'ADM';
  }
}