copyWith method

Context copyWith({
  1. int? id,
  2. String? name,
  3. Scope? scope,
})

Implementation

Context copyWith({int? id, String? name, Scope? scope}) {
  return Context(
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
  );
}