setting<T> method
Retrieve an arbitrary setting key from your ManUp config json. Must have
run validate()
first for this to work.
For example:
final enableMyFeature = service.setting<bool>(key: 'myFeatureEnabled', orElse: false)
To pluck the 'myFeatureEnabled' key from your json file.
Implementation
T setting<T>({
required String key,
required T orElse,
/// Will default to current OS but you may want a setting from another os
String? os,
}) =>
_manUpData.setting<T>(key: key, orElse: orElse, os: os);