replaceAll method

PaywallLocalizedContent<String?> replaceAll(
  1. Pattern from,
  2. String replace, {
  3. bool? all,
})

Implementation

PaywallLocalizedContent<String?> replaceAll(
  Pattern from,
  String replace, {
  bool? all,
}) {
  if (all ?? false) {
    return resolveWith((value) => value?.replaceAll(from, replace));
  }
  return copyWith(value: value?.replaceAll(from, replace));
}