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