copyWith method

ContentRestrictionExpandable copyWith({
  1. String? restrictions,
  2. String? content,
})

Implementation

ContentRestrictionExpandable copyWith(
    {String? restrictions, String? content}) {
  return ContentRestrictionExpandable(
    restrictions: restrictions ?? this.restrictions,
    content: content ?? this.content,
  );
}