ListOperand.fromJson constructor

ListOperand.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ListOperand.fromJson(Map<String, Object?> json) {
  return ListOperand(
    encodedOperand: json[r'encodedOperand'] as String?,
    values: (json[r'values'] as List<Object?>?)
            ?.map((i) => JqlQueryUnitaryOperand.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}