contains method Null safety

bool contains(
  1. String key
)

Implementation

bool contains(String key) {
  var exception = _getException();

  final constructor = _dll_handle.lookupFunction<_Context_contains_c, _Context_contains_dart>(_context_namespace + 'contains');

  bool result = constructor(_impl, key.toNativeUtf8(), exception);

  tdvCheckException(exception, _dll_handle);

  return result;
}