post property

String? post
final

Set post to make the request using POST instead of GET. In the constructor, post must be one of the following:

  • a String: POST request with post as the body, encoded in utf8
  • a List of bytes: POST request with post as the body

The field post will be a UInt8List representing the bytes, or the String

Implementation

final String? post;