OnSendErrorError constructor

OnSendErrorError({
  1. required String errorMessage,
  2. String? messageId,
  3. required Map details,
})

Implementation

OnSendErrorError({
  /// The error message describing the problem.
  required String errorMessage,

  /// The ID of the message with this error, if error is related to a specific
  /// message.
  String? messageId,

  /// Additional details related to the error, when available.
  required Map details,
}) : _wrapped = $js.OnSendErrorError(
        errorMessage: errorMessage,
        messageId: messageId,
        details: details.jsify()!,
      );