fromJson static method

Document fromJson(
  1. String json, {
  2. List<AbsDocumentSerialize> customSerializeParser = const [],
  3. AttributionDeserializeBuilder? attributionDeserializeBuilder,
})

Implementation

static Document fromJson(
  String json, {
  List<AbsDocumentSerialize> customSerializeParser = const [],
  AttributionDeserializeBuilder? attributionDeserializeBuilder,
}) {
  return documentDeserialize(
    jsonDecode(json),
    customSerializeParser: customSerializeParser,
    attributionDeserializeBuilder: attributionDeserializeBuilder,
  );
}