merge method

Returns this style with non-null values from override applied.

Implementation

FdcGridStatusBarStyle merge(FdcGridStatusBarStyle? override) {
  if (override == null) {
    return this;
  }

  return FdcGridStatusBarStyle(
    backgroundColor: override.backgroundColor ?? backgroundColor,
    textStyle: override.textStyle ?? textStyle,
    height: override.height ?? height,
    padding: override.padding ?? padding,
  );
}