UrlWithErrorCallback typedef Null safety

UrlWithErrorCallback = void Function(String url, ErrorCode error)

Implementation

typedef UrlWithErrorCallback = void Function(String url, ErrorCode error);