resource property

Object? resource
getter/setter pair

Optional resource value as it appears in persistent storage before the request is fulfilled.

The resource type depends on the request.path value.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.Object? resource;