impliedArguments top-level property

Map<String, Expression> impliedArguments
final

Implementation

final impliedArguments = <String, Expression>{
  // --- dependency injection ---
  (DI).name: refer('di'),
  // --- response ---
  (MutableHeaders).name:
      refer('context').property('response').property('headers'),
  (MutableBody).name: refer('context').property('response').property('body'),
  (MutableResponse).name: refer('context').property('response'),
  (RestrictedMutableResponse).name: refer('context').property('response'),
  // --- request ---
  (ReadOnlyHeaders).name:
      refer('context').property('request').property('headers'),
  (ReadOnlyRequest).name: refer('context').property('request'),
  (MutableRequest).name: refer('context').property('request'),
  (ReadOnlyBody).name: refer('context').property('request').property('body'),
  // --- meta ---
  (ReadOnlyMeta).name: refer('context').property('meta'),
  (WriteOnlyMeta).name: refer('context').property('meta'),
  (MetaHandler).name: refer('context').property('meta'),
  (ReadOnlyMetaDetailed).name: refer('context').property('meta'),
  // --- data ---
  (DataHandler).name: refer('context').property('data'),
  (ReadOnlyData).name: refer('context').property('data'),
  (WriteOnlyData).name: refer('context').property('data'),
};