Options constructor

Options({
  1. AuthOption? authOption,
  2. CustomHTTPResponse? httpResponse,
})

Implementation

factory Options({
  AuthOption? authOption,
  CustomHTTPResponse? httpResponse,
}) {
  final $result = create();
  if (authOption != null) {
    $result.authOption = authOption;
  }
  if (httpResponse != null) {
    $result.httpResponse = httpResponse;
  }
  return $result;
}