GetRemoteConfigBool method
Implementation
@override
Future<bool> GetRemoteConfigBool(String key, bool defaultValue) async {
try {
final bool? value = await methodChannel.invokeMethod<bool>(
'GetRemoteConfigBool', {'key': key, 'defaultValue': defaultValue});
return value ?? defaultValue;
} on PlatformException catch (e) {
print("Failed to call GetRemoteConfigBool: '${e.message}'.");
return defaultValue;
}
}