angel_framework.hooks library

Easy helper hooks.

Functions

disable([dynamic provider ]) HookedServiceEventListener
Disables a service method for access from a provider. [...]
remove(dynamic key, dynamic remover(dynamic key, dynamic obj)) HookedServiceEventListener
Removes one or more keys from service results. Works on single results, and iterable results.
toJson() HookedServiceEventListener
Transforms e.data into JSON-friendly data, i.e. a Map.
toType(Type type) HookedServiceEventListener
Transforms e.data into an instance of the given type, if it is not already.