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

NullableGraphRef<E extends Entity, C extends GraphInput, U extends GraphInput>.connection(
  1. E entity, [
  2. String? _recordType
])

Implementation

NullableGraphRef.connection(E entity, [String? _recordType])
    : _linkedId = entity.id,
      _recordType =
      (_recordType ?? ((entity is BaseSunnyEntity) ? capitalize(
          (entity as BaseSunnyEntity).mtype.artifactId!) : null)),
      _update = null,
      isDisconnect = false,
      _create = null;