asFormData method

String? asFormData()

Implementation

String? asFormData() => entries
    .map((e) =>
        "${Uri.encodeComponent(e.key).replaceAll("%20", "+")}=${Uri.encodeComponent(e.value.toString()).replaceAll("%20", "+")}")
    .join("&");