fromMap static method

Idd fromMap(
  1. JsonMap map
)

Creates a new instance of this object from a JSON like map.

The map parameter is a JsonMap that contains the properties of this object.

Implementation

static Idd fromMap(JsonMap map) => Idd(
  root: map["root"] as int,
  suffixes: List<int>.unmodifiable(map["suffixes"] as List),
);