copyWith method

ObjInfo copyWith({
  1. String? name,
  2. String? qualname,
  3. String? module,
})

Copies this instance with the given fields replaced with the new values.

Implementation

ObjInfo copyWith({
  String? name,
  String? qualname,
  String? module,
}) =>
    ObjInfo._(
      name: name ?? this.name,
      qualname: qualname ?? this.qualname,
      module: module ?? this.module,
    );