isJsonArray static method

bool isJsonArray(
  1. dynamic response
)

Checks if the response is a JSON array.

Implementation

static bool isJsonArray(dynamic response) {
  return response is List<dynamic>;
}