DimensionProperties.fromJson constructor

DimensionProperties.fromJson(
  1. Map json_
)

Implementation

DimensionProperties.fromJson(core.Map json_)
    : this(
        dataSourceColumnReference:
            json_.containsKey('dataSourceColumnReference')
                ? DataSourceColumnReference.fromJson(
                    json_['dataSourceColumnReference']
                        as core.Map<core.String, core.dynamic>)
                : null,
        developerMetadata: json_.containsKey('developerMetadata')
            ? (json_['developerMetadata'] as core.List)
                .map((value) => DeveloperMetadata.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        hiddenByFilter: json_.containsKey('hiddenByFilter')
            ? json_['hiddenByFilter'] as core.bool
            : null,
        hiddenByUser: json_.containsKey('hiddenByUser')
            ? json_['hiddenByUser'] as core.bool
            : null,
        pixelSize: json_.containsKey('pixelSize')
            ? json_['pixelSize'] as core.int
            : null,
      );