fromJson static method

MutableDocument fromJson(
  1. String source
)

Create a Document from Json

Some nodes, metadata and attributions might not be mapped.

Implementation

static MutableDocument fromJson(String source) =>
    JsonDocument.fromMap(json.decode(source));