initializeFromJson method

void initializeFromJson(
  1. String json
)

Initializes this instance from a JSON String.

Implementation

void initializeFromJson(String json) {
  var obj = jsonDecode(json);
  initializeFromMap(obj);
}