size method Null safety

int size()

Get a number of templates in the index.
return - Number of templates in the index.

Implementation

int size() {
  var exception = _getException();
  final getSize = _dll_handle.lookupFunction<_Templates_index_size_c, _Templates_index_size_dart>(_c_namespace + 'TemplatesIndex_size');

  var result = getSize(_impl, exception);
  checkException(exception, _dll_handle);

  return result;
}