SdkInitResult constructor

SdkInitResult({
  1. SdkInitPhase? phase,
  2. bool? success,
  3. SDKError? error,
  4. bool? httpConfigured,
  5. bool? deviceRegistered,
  6. int? linkedModelsCount,
  7. int? discoveredOrphans,
  8. String? warning,
  9. Int64? durationMs,
  10. bool? hasCompletedHttpSetup,
  11. bool? httpApplicable,
})

Implementation

factory SdkInitResult({
  SdkInitPhase? phase,
  $core.bool? success,
  $0.SDKError? error,
  $core.bool? httpConfigured,
  $core.bool? deviceRegistered,
  $core.int? linkedModelsCount,
  $core.int? discoveredOrphans,
  $core.String? warning,
  $fixnum.Int64? durationMs,
  $core.bool? hasCompletedHttpSetup,
  $core.bool? httpApplicable,
}) {
  final result = create();
  if (phase != null) result.phase = phase;
  if (success != null) result.success = success;
  if (error != null) result.error = error;
  if (httpConfigured != null) result.httpConfigured = httpConfigured;
  if (deviceRegistered != null) result.deviceRegistered = deviceRegistered;
  if (linkedModelsCount != null) result.linkedModelsCount = linkedModelsCount;
  if (discoveredOrphans != null) result.discoveredOrphans = discoveredOrphans;
  if (warning != null) result.warning = warning;
  if (durationMs != null) result.durationMs = durationMs;
  if (hasCompletedHttpSetup != null)
    result.hasCompletedHttpSetup = hasCompletedHttpSetup;
  if (httpApplicable != null) result.httpApplicable = httpApplicable;
  return result;
}