copyWith method

Visibility copyWith({
  1. String? identifier,
  2. VisibilityType? type,
  3. String? value,
})

Implementation

Visibility copyWith(
    {String? identifier, VisibilityType? type, String? value}) {
  return Visibility(
    identifier: identifier ?? this.identifier,
    type: type ?? this.type,
    value: value ?? this.value,
  );
}