SdkError constructor

const SdkError({
  1. required ErrorType type,
  2. required String message,
  3. int? statusCode,
  4. dynamic raw,
})

Creates an SDK error value.

Implementation

const SdkError({
  required this.type,
  required this.message,
  this.statusCode,
  this.raw,
});