printResponse method

void printResponse(
  1. Response response
)

Print response

Implementation

void printResponse(Response response) {
  if (this is PrintResponse) {
    output(response.data);
  }
}