writeJson static method

void writeJson(
  1. String key,
  2. Object? value
)

Encodes and stores value as JSON.

Implementation

static void writeJson(String key, Object? value) =>
    backend.write(key, jsonEncode(value));