PivotFilterCriteria.fromJson constructor

PivotFilterCriteria.fromJson(
  1. Map json_
)

Implementation

PivotFilterCriteria.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? BooleanCondition.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        visibleByDefault: json_.containsKey('visibleByDefault')
            ? json_['visibleByDefault'] as core.bool
            : null,
        visibleValues: json_.containsKey('visibleValues')
            ? (json_['visibleValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );