NullableUnionGraphRef<E extends Entity, C extends GraphInput, U extends GraphInput>.connection constructor

NullableUnionGraphRef<E extends Entity, C extends GraphInput, U extends GraphInput>.connection(
  1. E entity
)

Implementation

NullableUnionGraphRef.connection(E entity)
    : assert(entity is BaseSunnyEntity),
      super.connect(entity.id,
          capitalize((entity as BaseSunnyEntity).mtype.artifactId!));