overrideWith static method

Implementation

static PrimaryNomoButtonColorData overrideWith(
    PrimaryNomoButtonColorData base,
    [PrimaryNomoButtonColorDataNullable? override]) {
  return PrimaryNomoButtonColorData(
    backgroundColor: override?.backgroundColor ?? base.backgroundColor,
    foregroundColor: override?.foregroundColor ?? base.foregroundColor,
    elevation: override?.elevation ?? base.elevation,
    borderRadius: override?.borderRadius ?? base.borderRadius,
  );
}