LogicalExpression.fromJson constructor

LogicalExpression.fromJson(
  1. Map json_
)

Implementation

LogicalExpression.fromJson(core.Map json_)
    : this(
        fieldComparisons: json_.containsKey('fieldComparisons')
            ? (json_['fieldComparisons'] as core.List)
                .map((value) => FieldComparison.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        logicalExpressions: json_.containsKey('logicalExpressions')
            ? (json_['logicalExpressions'] as core.List)
                .map((value) => LogicalExpression.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        logicalOperator: json_.containsKey('logicalOperator')
            ? json_['logicalOperator'] as core.String
            : null,
      );