APIContext constructor

APIContext({
  1. String apiKey = '',
  2. String publicKey = '',
  3. bool ssl = false,
  4. int methodType = APIMethodType.GET,
  5. String address = '',
  6. int port = 80,
  7. String path = '',
  8. required Map<String, dynamic> headers,
  9. required Map<String, dynamic> parameters,
})

Constructor with optional pre-populated variables

Implementation

APIContext({
  this.apiKey = '',
  this.publicKey = '',
  this.ssl = false,
  this.methodType = APIMethodType.GET,
  this.address = '',
  this.port = 80,
  this.path = '',
  required this.headers,
  required this.parameters,
});