buildNetworkCookie static method

Future<String> buildNetworkCookie(
  1. String cookieName,
  2. String? cookieValue,
  3. String? domain,
  4. String? path,
  5. bool? isHttpOnly,
  6. bool? isSecure,
  7. double? maxAge,
)

Constructs a cookie by combining entered values.

Implementation

static Future<String> buildNetworkCookie(
    String cookieName,
    String? cookieValue,
    String? domain,
    String? path,
    bool? isHttpOnly,
    bool? isSecure,
    double? maxAge) async {
  return await _c.invokeMethod("buildNetworkCookie", {
    'cookieName': cookieName,
    'cookieValue': cookieValue,
    'domain': domain,
    'path': path,
    'isHttpOnly': isHttpOnly,
    'isSecure': isSecure,
    'maxAge': maxAge
  });
}