getGlobalState method

Future<Object?> getGlobalState()

Reads the global state of the map's style as a JSON object.

See mln_map_get_global_state in the C API reference.

Implementation

Future<Object?> getGlobalState() => _query(
  _resultObjectOrNull,
  (arena, completion) =>
      raw.mln_map_get_global_state(_handle.raw, completion, nativeDiagnostic),
);