CkAuthResult<T>.success constructor

const CkAuthResult<T>.success({
  1. T? data,
  2. String? message,
  3. int? statusCode,
  4. dynamic rawResponse,
})

Implementation

const CkAuthResult.success({
  this.data,
  this.message,
  this.statusCode,
  this.rawResponse,
}) : isSuccess = true,
     requiresOtp = false,
     otpTrigger = null;