copyWith method

DeletedSessionResource copyWith({
  1. String? id,
  2. String? type,
})

Creates a copy with replaced values.

Implementation

DeletedSessionResource copyWith({String? id, String? type}) {
  return DeletedSessionResource(id: id ?? this.id, type: type ?? this.type);
}