fetcherForSourceKind method

PixaFetcherDescriptor? fetcherForSourceKind(
  1. String sourceKind
)

Returns the fetcher descriptor registered for sourceKind, if any.

Implementation

PixaFetcherDescriptor? fetcherForSourceKind(String sourceKind) {
  final String? ownerId =
      _fetcherSourceKinds[sourceKind.trim().toLowerCase()];
  return ownerId == null ? null : _fetchers[ownerId];
}