buildBody method
Builds the HttpRequest body with the Credential.
Implementation
@override
HttpRequestBody buildBody(HttpRequestBody body) {
if (body.isNull) {
return buildJSONAuthorizationBody(null);
} else if (body.isJSONType) {
return buildJSONAuthorizationBody(body);
} else {
return body;
}
}