removeExtraReturns property
String
get
removeExtraReturns
removeExtraReturns: removes extra returns from a string
Implementation
String get removeExtraReturns => this?.replaceAll(RegExp(r'\r+'), '\r') ?? "";