getID method Null safety

int getID()

Get a face ID.

Implementation

int getID(){
  var exception = _getException();
  final get = _dll_handle.lookupFunction<_RSgetID_c, _RSgetID_dart>
    (_c_namespace + 'RawSample_getID');

  final int id = get(_impl, exception);

  checkException(exception, _dll_handle);

  return id;
}