queryTreasuryOverview method

Future<TreasuryOverviewData> queryTreasuryOverview()

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();
}