request method

  1. @mustBeOverridden
Future<Map<String, dynamic>?> request(
  1. String url,
  2. Map<String, dynamic> meta,
  3. Map<String, dynamic> body
)

Sends a request to the server.

The url parameter represents the URL to send the request to. The meta parameter contains any additional metadata for the request. The body parameter contains the body of the request.

This method must be overridden by implementers.

Throws MissingCapabilityMethodImplementation by default.

Implementation

@mustBeOverridden
Future<Map<String, dynamic>?> request(
  String url,
  Map<String, dynamic> meta,
  Map<String, dynamic> body,
) =>
    throw const MissingCapabilityMethodImplementation(
      "request",
      "TransportCapabilityDelegate",
    );