merge method

Implementation

ZeroAvatarStyle merge(ZeroAvatarStyle? other) {
  if (other == null) return this;

  return copyWith(
    backgroundColor: other.backgroundColor,
    badgeColor: other.badgeColor,
    borderColor: other.borderColor,
    initialColor: other.initialColor,
    initialStyle:
        initialStyle?.merge(other.initialStyle) ?? other.initialStyle,
  );
}