call method

FutureOr<void> call(
  1. Context context,
  2. Next next
)

Disguised as Middleware

Implementation

FutureOr<void> call(Context context, Next next) {
  context.set(SPRY_JSON, this);

  return next();
}