copyWith method

  1. @override
PageBlockMap copyWith({
  1. Location? location,
  2. int? zoom,
  3. int? width,
  4. int? height,
  5. PageBlockCaption? caption,
})
override

Implementation

@override
PageBlockMap copyWith({
  Location? location,
  int? zoom,
  int? width,
  int? height,
  PageBlockCaption? caption,
}) =>
    PageBlockMap(
      location: location ?? this.location,
      zoom: zoom ?? this.zoom,
      width: width ?? this.width,
      height: height ?? this.height,
      caption: caption ?? this.caption,
    );