copyWith method

RestrictionInfo copyWith({
  1. String? restrictionReason,
  2. bool? hasSensitiveContent,
})

Implementation

RestrictionInfo copyWith({
  String? restrictionReason,
  bool? hasSensitiveContent,
}) =>
    RestrictionInfo(
      restrictionReason: restrictionReason ?? this.restrictionReason,
      hasSensitiveContent: hasSensitiveContent ?? this.hasSensitiveContent,
    );