toJson method
Implementation
String? toJson() {
final m = toMap();
return m != null ? json.encode(m).replaceAll('\\[repl]\\', '\\') : null;
}
String? toJson() {
final m = toMap();
return m != null ? json.encode(m).replaceAll('\\[repl]\\', '\\') : null;
}