NativeNetworkHooks constructor

const NativeNetworkHooks({
  1. Future<Map<String, String>> onRequest(
    1. Map<String, Object?> request
    )?,
  2. void onResponse(
    1. Map<String, Object?> response
    )?,
  3. Future<String> onTokenExpired(
    1. String previousToken
    )?,
  4. void onLog(
    1. String line
    )?,
})

Implementation

const NativeNetworkHooks({
  this.onRequest,
  this.onResponse,
  this.onTokenExpired,
  this.onLog,
});