encode method

String encode()

Encodes this entry to a compact JSON string suitable for storage.

Use decode to restore the entry.

Implementation

String encode() => jsonEncode(toJson());