sessionDeleteTypeToString function

String sessionDeleteTypeToString(
  1. NIMSessionDeleteType type
)

Implementation

String sessionDeleteTypeToString(NIMSessionDeleteType type) {
  if (type == NIMSessionDeleteType.local) return 'local';
  if (type == NIMSessionDeleteType.remote) return 'remote';
  return 'localAndRemote';
}