Object.zGetFields
zGetFields() -> map
Description
Return a Map of all fields for this object, with their values.
class MyClass { fields { id: 123 color: 'green' } } $object = MyClass() $object.zGetFields() //= { id: 123, color: 'green' }
Return a Map of all fields for this object, with their values.
class MyClass { fields { id: 123 color: 'green' } } $object = MyClass() $object.zGetFields() //= { id: 123, color: 'green' }