SyncError constructor

  1. @Deprecated("SyncError constructor is deprecated and will be removed in the future")
SyncError(
  1. String message,
  2. SyncErrorCategory category,
  3. int codeValue, {
  4. String? detailedMessage,
})

Implementation

@Deprecated("SyncError constructor is deprecated and will be removed in the future")
SyncError(String message, this.category, int codeValue, {this.detailedMessage})
    : code = SyncErrorCode.fromInt(codeValue),
      innerError = null,
      super(message);