erase method Null safety

void erase(
  1. String key
)

Implementation

void erase(String key) {
  var exception = _getException();

  final constructor = _dll_handle.lookupFunction<_Context_erase_c, _Context_erase_dart>(_context_namespace + 'erase');

  constructor(_impl, key.toNativeUtf8(), exception);

  tdvCheckException(exception, _dll_handle);
}