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,
      );