snapshotJson method

String snapshotJson()

The current snapshot as a JSON string — the body of the ext.kaisel.snapshot service extension.

Implementation

String snapshotJson() => jsonEncode(snapshot().toJson());