toValue method Null safety

String toValue()

Implementation

String toValue() {
  return super.enumToValue(_$SystemMessageTypeEnumMap, type!);
}