at method Null safety

Template at(
  1. int t
)

Get an t-th template.
t - Integer t: 0 <= t < size.
return - The t-th template.

Implementation

Template at(int t) {
  var exception = _getException();
  final getAt = _dll_handle.lookupFunction<_Templates_index_at_c, _Templates_index_at_dart>(_c_namespace + 'TemplatesIndex_at');

  var result = getAt(_impl, t, exception);
  checkException(exception, _dll_handle);

  return Template(_dll_handle, result);
}