copyWith method
Implementation
ViewportState copyWith({
List<DeviceInfo>? devices,
Orientation? orientation,
bool? hasFrame,
}) {
return ViewportState(
devices: devices ?? this.devices,
orientation: orientation ?? this.orientation,
hasFrame: hasFrame ?? this.hasFrame,
);
}