res property
R
get
res
Throws if closed; returns the native resource otherwise.
Implementation
R get res {
final r = _res;
if (r == null) throw StateError('NativeHandle is closed');
return r;
}
Throws if closed; returns the native resource otherwise.
R get res {
final r = _res;
if (r == null) throw StateError('NativeHandle is closed');
return r;
}