Ledger.hook constructor
Ledger.hook(
- AgentFactory agent
Implementation
factory Ledger.hook(AgentFactory agent) {
return Ledger()..setAgent(agent);
}
factory Ledger.hook(AgentFactory agent) {
return Ledger()..setAgent(agent);
}