SdkInitResult constructor

SdkInitResult({
  1. SDKError? error,
  2. int? linkedModelsCount,
  3. String? warning,
  4. bool? hasCompletedHttpSetup,
  5. bool? httpApplicable,
})

Implementation

factory SdkInitResult({
  $0.SDKError? error,
  $core.int? linkedModelsCount,
  $core.String? warning,
  $core.bool? hasCompletedHttpSetup,
  $core.bool? httpApplicable,
}) {
  final result = create();
  if (error != null) result.error = error;
  if (linkedModelsCount != null) result.linkedModelsCount = linkedModelsCount;
  if (warning != null) result.warning = warning;
  if (hasCompletedHttpSetup != null)
    result.hasCompletedHttpSetup = hasCompletedHttpSetup;
  if (httpApplicable != null) result.httpApplicable = httpApplicable;
  return result;
}