copyWith method

SetBio copyWith({
  1. String? bio,
})

Copy model with modified properties.

Properties:

  • bio: The new value of the user bio; 0-getOption("bio_length_max") characters without line feeds

Implementation

SetBio copyWith({
  String? bio,
}) =>
    SetBio(
      bio: bio ?? this.bio,
    );