fromInterface static method

ProviderCreator fromInterface(
  1. ProviderCreatorInterface providerCreatorInterface
)

convert a ProviderCreatorInterface to a ProviderCreator?

Implementation

static ProviderCreator fromInterface(
  ProviderCreatorInterface providerCreatorInterface,
) =>
    ProviderCreator.values.byName(providerCreatorInterface.type.name);