convertTemplate method Null safety

ContextTemplate convertTemplate(
  1. Context templateContext
)

Implementation

ContextTemplate convertTemplate(Context templateContext) {
  final exception = _getException();

  final converter = _dll_handle.lookupFunction<_ContextTemplate_convert_c, _ContextTemplate_convert_dart>(
      _c_namespace + 'ContextTemplate_convert');

  final impl = converter(templateContext._impl, exception);

  checkException(exception, _dll_handle);

  return ContextTemplate(_dll_handle, impl);
}