isRequired property
bool
get
isRequired
determines if this interface is required (meaning: can be used in a type hierarchy by the consumer)
Implementation
bool get isRequired =>
isAbstract &&
!isSealed &&
typeUsages.any((tu) => tu.kind == TypeUsageKind.input);