Dimension.fromJson constructor

Dimension.fromJson(
  1. Map _json
)

Implementation

Dimension.fromJson(core.Map _json)
    : this(
        dimensionExpression: _json.containsKey('dimensionExpression')
            ? DimensionExpression.fromJson(_json['dimensionExpression']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );