request static method

void request(
  1. RequestOptions options
)

Implementation

static void request(RequestOptions options) {
  debugPrint("$yellow🔵 REQUEST → ${options.method} ${options.path}$reset");
  if (options.queryParameters.isNotEmpty) {
    debugPrint("$yellow 🔸 Query: ${options.queryParameters}$reset");
  }
  if (options.data != null) {
    debugPrint("$yellow 🔸 Body: ${options.data}$reset");
  }
}