bound property Null safety

InstanceRef? bound
@optional, read / write

The bound of a TypeParameter or BoundedType.

The value will always be of one of the kinds: Type, TypeRef, TypeParameter, BoundedType.

Provided for instance kinds:

  • BoundedType
  • TypeParameter

Implementation

@optional
InstanceRef? bound;