production method

ProductionAPI production(
  1. String? certificate,
  2. String? secret
)

Creates an instance of the ProductionAPI class.

Implementation

ProductionAPI production(String? certificate, String? secret) {
  final authHeaders = getAuthHeaders(certificate, secret);
  final baseUrl = getBaseUrl();
  return ProductionAPI(authHeaders, baseUrl);
}