GatewayFactory typedef

GatewayFactory = PaymentGateway Function(Map<String, String> env, Client? client)

Cria um gateway a partir do ambiente (.env) + client HTTP opcional.

Implementation

typedef GatewayFactory =
    PaymentGateway Function(Map<String, String> env, http.Client? client);