FaucetClient.fromClient constructor

FaucetClient.fromClient(
  1. String endpoint,
  2. AptosClient client, {
  3. bool enableDebugLog = false,
})

Implementation

factory FaucetClient.fromClient(String endpoint, AptosClient client, {bool enableDebugLog = false}) {
  return FaucetClient._(endpoint, client: client, enableDebugLog: client.enableDebugLog);
}