DimensionCompatibility.fromJson constructor

DimensionCompatibility.fromJson(
  1. Map _json
)

Implementation

DimensionCompatibility.fromJson(core.Map _json)
    : this(
        compatibility: _json.containsKey('compatibility')
            ? _json['compatibility'] as core.String
            : null,
        dimensionMetadata: _json.containsKey('dimensionMetadata')
            ? DimensionMetadata.fromJson(_json['dimensionMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
      );