Timer.fromJSON

Deserialises a Timer from a JSONValue.

struct Timer
static
fromJSON
(
const JSONValue json
)

Parameters

json JSONValue

JSONValue to deserialise.

Return Value

Type: auto

A new Timer with values loaded from the passed JSON.