parseCallType static method

String parseCallType(
  1. String type
)

Implementation

static String parseCallType(String type) {
  switch (type) {
    case 'incoming':
      return "incoming";
    case 'outgoing':
      return "outgoing";
    case 'missed':
      return "missed";
    default:
      return "unknown";
  }
}