encode method
Implementation
String encode() {
if (!isRich) return text;
return jsonEncode({
'text': text,
'ops': ops,
});
}
String encode() {
if (!isRich) return text;
return jsonEncode({
'text': text,
'ops': ops,
});
}