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