copyWith method

VersionResponse copyWith({
  1. String? version,
})

Creates a copy of this response with optional modifications.

Implementation

VersionResponse copyWith({String? version}) {
  return VersionResponse(version: version ?? this.version);
}