NiceApiExplorer constructor

const NiceApiExplorer({
  1. Key? key,
  2. required String title,
  3. required List<ApiEndpoint> endpoints,
  4. String? baseUrl,
  5. Future<ApiResponse> onRequest(
    1. ApiEndpoint ep,
    2. Map<String, String> params,
    3. String? body
    )?,
  6. bool showSearch = true,
})

Implementation

const NiceApiExplorer({
  super.key,
  required this.title,
  required this.endpoints,
  this.baseUrl,
  this.onRequest,
  this.showSearch = true,
});