SuperuserPluginUnixBindings class final
Bindings for src/superuser_plugin_unix.h
.
Regenerate bindings with dart run ffigen --config ffigen.yaml
.
Constructors
- SuperuserPluginUnixBindings.new(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary
. -
SuperuserPluginUnixBindings.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get_uname(
Pointer< Pointer< result) → intChar> > - Obtain name of user.
-
is_root(
) → bool - Determine user who execute this program is root.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited