textToJson static method
Implementation
static textToJson(String? ptext) {
if (ptext == null) {
return null;
} else if (ptext.isEmpty) {
return null;
} else {
return ptext;
}
}
static textToJson(String? ptext) {
if (ptext == null) {
return null;
} else if (ptext.isEmpty) {
return null;
} else {
return ptext;
}
}