getFee method
The fee command reports the current state of the open-ledger requirements for the transaction cost. This requires the FeeEscalation amendment to be enabled. This is a public command available to unprivileged users.
Implementation
Future<LedgerInfo> getFee() async {
final response = await makeCustomCall<Map<String, dynamic>>("fee");
return LedgerInfo.fromJson(response);
}