copyWith method

LinkResponse copyWith({
  1. String? id,
  2. String? type,
  3. LinkResponseAttributes? attributes,
})

Implementation

LinkResponse copyWith({
  String? id,
  String? type,
  LinkResponseAttributes? attributes,
}) {
  return LinkResponse(
    id: id ?? this.id,
    type: type ?? this.type,
    attributes: attributes ?? this.attributes,
  );
}