merge method

Implementation

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

  return copyWith(
    basic: basic?.merge(other.basic) ?? other.basic,
    android: android?.merge(other.android) ?? other.android,
    iOS: iOS?.merge(other.iOS) ?? other.iOS,
    disabledColor: other.disabledColor,
  );
}