throwNonKeyedDescriptor method

void throwNonKeyedDescriptor()

Implementation

void throwNonKeyedDescriptor() {
  throw InvalidOperationException(
    message: 'This service descriptor is not keyed.',
  );
}