AuthApiKeyModel constructor

const AuthApiKeyModel({
  1. required String key,
  2. @Default('header') String location,
  3. @Default('x-api-key') String name,
})

Implementation

const factory AuthApiKeyModel({
  required String key,
  @Default('header') String location, // 'header' or 'query'
  @Default('x-api-key') String name,
}) = _AuthApiKeyModel;