remoteConfigGetBool method
Implementation
@override
Future<bool> remoteConfigGetBool(String key, bool defaultValue) async {
try {
final Map<String, Object?> arguments = {
Argument.remoteConfigKey.value: key,
Argument.remoteConfigDefaultValue.value: defaultValue,
};
final bool result = await methodChannel.invokeMethod(
Method.remoteConfigGetBool.value,
arguments,
);
return result;
} catch (e) {
return defaultValue;
}
}