toPolymorphic method

  1. @override
PolymorphicKind<T> toPolymorphic()
override

Constructs a PolymorphicKind for this kind.

If this is already a PolymorphicKind, returns this.

Implementation

@override
PolymorphicKind<T> toPolymorphic() {
  return this;
}