FMSearchOptions constructor

const FMSearchOptions({
  1. List<String>? countries,
  2. int limit = 10,
  3. int maxRetries = 3,
  4. List<String> langs = const ['en'],
})

Implementation

const FMSearchOptions({
  this.countries,
  this.limit = 10,
  this.maxRetries = 3,
  this.langs = const ['en'],
})  : assert(limit > 0, 'limit must be greater than 0'),
      assert(maxRetries <= 5, 'Keep maxRetries less than or equal to 5');