DataArray.decodeJson constructor

DataArray.decodeJson(
  1. String source
)

Creates a data array from source containing an encoded JSON Array.

The underlying list is an object tree as parsed by the standard json.decode() of the dart:convert package.

Implementation

factory DataArray.decodeJson(String source) =>
    DataArrayView._protected(json.decode(source) as Iterable<Object?>);