List<Constructor> constructors

Source

List<Constructor> get constructors {
  if (_constructors != null) return _constructors;

  _constructors = _cls.constructors.where(isPublic).map((e) {
    return new ModelElement.from(e, library);
  }).toList(growable: true)
    ..sort(byName);

  return _constructors;
}