merge method

Creates a copy of this RadioTileThemeData but with the given fields replaced with the new values.

Implementation

RadioTileThemeData merge(RadioTileThemeData? other) {
  // if null return current object
  if (other == null) return this;

  return copyWith(
    curve: other.curve,
    duration: other.duration,
    controlAffinity: other.controlAffinity,
    radioStyle: other.radioStyle,
    buttonStyle: other.buttonStyle,
  );
}