toOneLine property
String?
get
toOneLine
Converts the string into a single line by replacing newline characters.
Implementation
String? get toOneLine => this?.replaceAll('\n', '');
Converts the string into a single line by replacing newline characters.
String? get toOneLine => this?.replaceAll('\n', '');