JsonObject.fromBytes constructor

JsonObject.fromBytes(
  1. List<int> bytes
)

Constructs a JsonObject from a bytes representation of the json string

Implementation

JsonObject.fromBytes(List<int> bytes)
    : this._(_clone(convert.json.decode(convert.utf8.decode(bytes))),
          encodeBase64EncodedBytes(bytes));