getConditionals method Null safety

  1. @override
List<Conditional> getConditionals()
override

Lists of all Conditionals contained within this Conditional (not including itself).

Recursively calls down through sub-Conditionals.

Implementation

@override
List<Conditional> getConditionals() => [...then, ...orElse];