stringify method
Converts the JSON object to a string returning null if it cannot.
Implementation
String? stringify() {
try {
return jsonEncode(this);
} catch (ex) {
return null;
}
}
Converts the JSON object to a string returning null if it cannot.
String? stringify() {
try {
return jsonEncode(this);
} catch (ex) {
return null;
}
}