getValueForKeyOrDefault method

bool getValueForKeyOrDefault({
  1. required String key,
  2. bool defValue = false,
})

Implementation

bool getValueForKeyOrDefault({required String key, bool defValue = false}) => this.availableMethods[key] ?? defValue;