merge method

Merge themes

Implementation

StreamVideoTheme merge(StreamVideoTheme? other) {
  if (other == null) return this;
  return copyWith(
    textTheme: textTheme.merge(other.textTheme),
    colorTheme: colorTheme.merge(other.colorTheme),
    callControlsTheme: callControlsTheme.merge(callControlsTheme),
    userAvatarTheme: userAvatarTheme.merge(other.userAvatarTheme),
    lobbyViewTheme: lobbyViewTheme.merge(other.lobbyViewTheme),
    callParticipantTheme:
        callParticipantTheme.merge(other.callParticipantTheme),
    incomingCallTheme: incomingCallTheme.merge(other.incomingCallTheme),
    callContentTheme: callContentTheme.merge(other.callContentTheme),
    outgoingCallTheme: outgoingCallTheme.merge(other.outgoingCallTheme),
    livestreamTheme: livestreamTheme.merge(other.livestreamTheme),
  );
}