merge method
Returns this style with non-null values from override applied.
Implementation
FdcGridSummaryStyle merge(FdcGridSummaryStyle? override) {
if (override == null) {
return this;
}
return FdcGridSummaryStyle(
backgroundColor: override.backgroundColor ?? backgroundColor,
showTopSeparator: override.showTopSeparator ?? showTopSeparator,
textStyle: override.textStyle ?? textStyle,
height: override.height ?? height,
padding: override.padding ?? padding,
showVerticalSeparators:
override.showVerticalSeparators ?? showVerticalSeparators,
verticalSeparatorInset:
override.verticalSeparatorInset ?? verticalSeparatorInset,
);
}