typedefs library Null safety

Typedefs

RequestCallback = Future Function(WPAppNetworkManager request)
The RequestCallback is used for calling a method in WPAppNetworkManager This is used on the api method in wp_json_api