GetContentCallbackResponse constructor

GetContentCallbackResponse({
  1. required String content,
  2. required String encoding,
})

Implementation

GetContentCallbackResponse({
  /// Content of the response body (potentially encoded).
  required String content,

  /// Empty if content is not encoded, encoding name otherwise. Currently,
  /// only base64 is supported.
  required String encoding,
}) : _wrapped = $js.GetContentCallbackResponse(
        content: content,
        encoding: encoding,
      );