create advanced_filter_controller

This commit is contained in:
ManhNT
2022-06-25 01:59:43 +07:00
committed by Dat H. Pham
parent 377c9678f1
commit 298e0e2e8b
3 changed files with 93 additions and 0 deletions
+10
View File
@@ -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 ?? '';
}
}