copyWith method
Implementation
TeamsTarget copyWith({ String? name,
String? type,
String? userId,
String? target,
}) => TeamsTarget( name: name ?? _name,
type: type ?? _type,
userId: userId ?? _userId,
target: target ?? _target,
);
TeamsTarget copyWith({ String? name,
String? type,
String? userId,
String? target,
}) => TeamsTarget( name: name ?? _name,
type: type ?? _type,
userId: userId ?? _userId,
target: target ?? _target,
);