protected static method
Implementation
static Future<TSharedProtectedBoolPod> protected(
String key, {
bool? initialValue,
}) async {
final instance = TSharedProtectedBoolPod(
key,
fromValue: (rawValue) => rawValue,
toValue: (value) => value,
initialValue: initialValue,
);
await instance.refresh();
return instance;
}