requireConsumerComposableWith method

void requireConsumerComposableWith(
  1. ReadyValidContract providerContract, {
  2. required String providerName,
})

Verifies that providerContract can connect to this consumer.

Implementation

void requireConsumerComposableWith(
  ReadyValidContract providerContract, {
  required String providerName,
}) =>
    ReadyValidContract.requireComposable(
      provider: providerContract,
      consumer: contract,
      providerName: providerName,
      consumerName: data.name,
    );