IterableDifferFactory find(iterable)

Source

IterableDifferFactory find(dynamic iterable) {
  var factory = this
      .factories
      .firstWhere((f) => f.supports(iterable), orElse: () => null);
  if (factory != null) {
    return factory;
  } else {
    throw new BaseException('Cannot find a differ supporting object '
        '\'${iterable}\' of type \'${iterable.runtimeType}\'');
  }
}