ClassInfo<T> class

Available extensions

Constructors

ClassInfo.new({String? name, required T newInstance(JsScript, List argv), Map<String, JsFunction<T>> functions = const {}, Map<String, JsField<T, dynamic>> fields = const {}})

Properties

hashCode int
The hash code for this object.
no setterinherited
members List<_MemberInfo>
getter/setter pair
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
final

Methods

createJsClass() Pointer<JsClass>

Available on ClassInfo<T>, provided by the FfiClassInfo extension

deleteJsClass(Pointer<JsClass> jsClass) → void

Available on ClassInfo<T>, provided by the FfiClassInfo extension

inherit<M extends T>({String? name, M newInstance(JsScript, List argv)?, Map<String, JsFunction<M>> functions = const {}, Map<String, JsField<M, dynamic>> fields = const {}}) ClassInfo<M>
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