interfaceNames property Null safety

List<NamedType> interfaceNames

Implementation

List<NamedType> get interfaceNames => astNode.interfaces
    .map(
      (name) => NamedType(name, getType),
    )
    .toList();