toValue method Null safety

String toValue()

Implementation

String toValue() {
  return super.enumToValue(_$NIMSessionTypeEnumMap, sessionType!);
}