FieldWasClause.fromJson constructor
Implementation
factory FieldWasClause.fromJson(Map<String, Object?> json) {
return FieldWasClause(
field: JqlQueryField.fromJson(
json[r'field'] as Map<String, Object?>? ?? const {}),
operand: JqlQueryClauseOperand.fromJson(
json[r'operand'] as Map<String, Object?>? ?? const {}),
operator$:
FieldWasClauseOperator.fromValue(json[r'operator'] as String? ?? ''),
predicates: (json[r'predicates'] as List<Object?>?)
?.map((i) => JqlQueryClauseTimePredicate.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}