ServiceResult.onSuccessWithNoEntity constructor

ServiceResult.onSuccessWithNoEntity(
  1. int httpCode,
  2. Map<String, String> headers
)

Implementation

factory ServiceResult.onSuccessWithNoEntity(
    int httpCode, Map<String, String> headers) {
  return ServiceResult._(
      httpCode: httpCode,
      headers: headers,
      result: ServiceExecutionResult.success,
      entity: null);
}