copyWith method

RichText copyWith({
  1. bool? empty,
  2. bool? emptyAdf,
  3. bool? finalised,
  4. bool? valueSet,
})

Implementation

RichText copyWith(
    {bool? empty, bool? emptyAdf, bool? finalised, bool? valueSet}) {
  return RichText(
    empty: empty ?? this.empty,
    emptyAdf: emptyAdf ?? this.emptyAdf,
    finalised: finalised ?? this.finalised,
    valueSet: valueSet ?? this.valueSet,
  );
}