Interface constructor

Interface({
  1. required String name,
  2. required Set<InterfaceAttribute> attributes,
})

Implementation

Interface({required this.name, required this.attributes})
    : hasLists = attributes.any((a) => a.returnType.startsWith('List<'));