copyWith method

Person copyWith({
  1. String? name,
  2. String? subtitle,
  3. bool deleteSubtitle = _F,
})

Implementation

Person copyWith({String? name,String? subtitle,bool deleteSubtitle=_F,})=>Person(name: name??_H.name,subtitle: deleteSubtitle?null:(subtitle??_H.subtitle),);