copyWith method

PaywallPosition copyWith({
  1. double? width,
  2. double? height,
  3. double? left,
  4. double? top,
  5. double? right,
  6. double? bottom,
})

Implementation

PaywallPosition copyWith({
  double? width,
  double? height,
  double? left,
  double? top,
  double? right,
  double? bottom,
}) {
  return PaywallPosition(
    width: width ?? this.width,
    height: height ?? this.height,
    left: left ?? this.left,
    top: top ?? this.top,
    right: right ?? this.right,
    bottom: bottom ?? this.bottom,
  );
}