getDatabaseGlobalProperties method

Future<DatabaseGlobalProperties> getDatabaseGlobalProperties()

Implementation

Future<DatabaseGlobalProperties> getDatabaseGlobalProperties() async {
  final bodyJson = await _fetchPostData(
    method: 'database_api.get_dynamic_global_properties',
  );

  return DatabaseGlobalProperties.fromJson(
    bodyJson['result'] as Map<String, dynamic>,
  );
}