SaveFileDataCallbackBase class abstract
Raylib's SaveFileDataCallback callback.
- Inheritance
-
- Object
- RaylibCallback<
SaveFileDataCallbackBase, SaveFileDataCallbackFunction> - SaveFileDataCallbackBase
Constructors
- SaveFileDataCallbackBase([String? name])
Properties
- function → SaveFileDataCallbackFunction
-
The Dart function exposed to the native side.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
A human-readable name for this callback, used in toString and logging.
getter/setter pairinherited
-
nativeFunction
→ MemoryPointer<
RFunction< SaveFileDataCallbackBase> > -
no setterinherited
-
registry
→ Map<
int, SaveFileDataCallbackBase> -
The registry of live callbacks for this callback type.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
) → MemoryPointer< RFunction< SaveFileDataCallbackBase> > -
Registers this callback and returns its function pointer.
inherited
-
detach(
[bool keepAlive = false]) → MemoryPointer< RFunction< SaveFileDataCallbackBase> > -
Removes this callback from registry, optionally disposes it, and
returns its function pointer.
inherited
-
dispose(
) → void -
Marks this instance as disposed.
inherited
-
initializer(
) → MemoryPointer< RFunction< SaveFileDataCallbackBase> > -
Backend-specific: produces the callable native pointer for function.
Native: wraps a
NativeCallable<C>, returns its nativeFunction cast to RVoid. Wasm: registers via addFunction(jsFunction, signature), wraps the int as a pointer.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns name.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
callbackRegistry
→ Map<
int, SaveFileDataCallbackBase> -
final
Static Methods
-
disposeRegistry(
) → void -
Disposes all callbacks in
registryand clears it.override