create advanced_filter_controller
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class StringConvert {
|
||||
static String? writeEmptyToNull(String text) {
|
||||
if (text.isEmpty) return null;
|
||||
return text;
|
||||
}
|
||||
|
||||
static String writeNullToEmpty(String? text) {
|
||||
return text ?? '';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user