NewsAPI constructor

NewsAPI({
  1. required String apiKey,
})

Creates a NewsAPI instance with the given apiKey.

Implementation

NewsAPI({required this.apiKey});