extract method
This extracts data from a widget and returns it.
Implementation
dynamic extract(String extractType, AFWidgetSelector selector, Element element) {
final result = extractInternal(extractType, selector, element);
if(result == null) {
throw AFException("Could not extract $extractType for $selector");
}
return result;
}