provider property

FutureOr<Iterable<T>> Function(ContextData) provider

A function called to retrieve the available elements to convert.

This should return an iterable of all the instances of T that this converter should allow to be returned. It does not have to always return the same number of instances, and will be called for each new operation requested from this converter.

Implementation

FutureOr<Iterable<T>> Function(ContextData) get provider;