BallObject class

Runtime representation of a Ball class instance.

The public shape mirrors the object metadata expected by conformance tests: __type__, __super__, __fields__, and __methods__. It also extends BallMap so existing map-oriented engine paths keep working while class fields remain grouped under fields.

Inheritance

Constructors

BallObject({required String typeName, Object? superObject, Map<String, Object?>? fields, Map<String, Object?>? methods})

Properties

entries → Map<String, Object?>
finalinherited
fields → Map<String, Object?>
final
hashCode → int
The hash code for this object.
no setterinherited
methods → Map<String, Object?>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
superObject ↔ Object?
getter/setter pair
typeName → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setField(String name, Object? value) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → Object?
inherited
operator []=(String key, Object? value) → void
override