AstList constructor

AstList({
  1. List<AstType> generics = const [],
  2. bool maybeNull = false,
  3. List<bool> genericsMaybeNull = const <bool>[],
})

Implementation

AstList(
    {List<AstType> generics = const [],
    bool maybeNull = false,
    List<bool> genericsMaybeNull = const <bool>[]})
    : super(maybeNull, genericsMaybeNull,
          generics: generics.isNotEmpty ? generics : [const AstObject()]);