negativeString property
String?
negativeString
Implementation
String? get negativeString {
if (sort == null) return null;
if (sort!.startsWith('-')) return sort!.substring(1);
return '-$sort';
}
String? get negativeString {
if (sort == null) return null;
if (sort!.startsWith('-')) return sort!.substring(1);
return '-$sort';
}