release method
Releases the map.
Detach the map's render session first.
See mln_map_release in the
C API reference.
Implementation
Future<void> release() => _state.closeAsync(
(handle) => _submit(
(arena, completion) =>
raw.mln_map_release(handle.raw, completion, nativeDiagnostic),
),
);