Callback.networkRequest constructor Null safety

const Callback.networkRequest(
  1. NetworkRequest request,
  2. {Callback? callback}
)

Implementation

const factory Callback.networkRequest(
  NetworkRequest request, {
  Callback? callback,
}) = HttpRequestCallback;