ServiceResult.onSuccess constructor
Implementation
factory ServiceResult.onSuccess(
int httpCode, Map<String, String> headers, var entity) {
return ServiceResult._(
httpCode: httpCode,
headers: headers,
result: ServiceExecutionResult.success,
entity: entity);
}