queryTreasuryOverview method
Implementation
Future<TreasuryOverviewData> queryTreasuryOverview() async {
final Map? data = await service.queryTreasuryOverview();
if (data != null) {
return TreasuryOverviewData.fromJson(
Map<String, dynamic>.of(data as Map<String, dynamic>));
}
return TreasuryOverviewData();
}