addContextTemplate method Null safety

void addContextTemplate(
  1. ContextTemplate template,
  2. String uuid
)

Implementation

void addContextTemplate(ContextTemplate template, String uuid) {
  var exception = _getException();

  final addConstructor =
      _dll_handle.lookupFunction<_DynamicTemplateIndex_add_3_c, _DynamicTemplateIndex_add_3_dart>(_c_namespace + "DynamicTemplateIndex_add_3");

  addConstructor(_impl, template._impl, uuid.toNativeUtf8(), exception);

  checkException(exception, _dll_handle);
}