Stream.fromJSON

Deserialises a Stream from a JSON representation.

struct Stream
package static
fromJSON
(
const JSONValue json
)

Parameters

json JSONValue

JSONValue to build a Stream from.

Return Value

Type: auto

A new Stream with values from the passed json.