merge method

Merges one StreamUserAvatarThemeData with the another.

Implementation

StreamUserAvatarThemeData merge(StreamUserAvatarThemeData? other) {
  if (other == null) return this;
  return copyWith(
    constraints: other.constraints,
    borderRadius: other.borderRadius,
    initialsTextStyle: other.initialsTextStyle,
    initialsBackground: other.initialsBackground,
    selectionColor: other.selectionColor,
    selectionThickness: other.selectionThickness,
  );
}