copyWith method
Implementation
SunnySpacing copyWith({
double? scaleFactor,
double? spaceUnit,
double? cardImageHeight,
double? cardImageExpandedHeight,
double? appBarHeight,
}) {
return new SunnySpacing.of(
scaleFactor: scaleFactor ?? this.scaleFactor,
cardImageHeight: cardImageHeight ?? this._cardImageHeight,
cardImageExpandedHeight:
cardImageExpandedHeight ?? this._cardImageExpandedHeight,
spaceUnit: spaceUnit ?? this._spaceUnit,
appBarHeight: appBarHeight ?? this._appBarHeight,
);
}