DimensionGroup.fromJson constructor

DimensionGroup.fromJson(
  1. Map json_
)

Implementation

DimensionGroup.fromJson(core.Map json_)
    : this(
        collapsed: json_.containsKey('collapsed')
            ? json_['collapsed'] as core.bool
            : null,
        depth: json_.containsKey('depth') ? json_['depth'] as core.int : null,
        range: json_.containsKey('range')
            ? DimensionRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
      );