copyWith method

CustomerCreateDTO copyWith({
  1. String? displayName,
  2. String? email,
  3. String? fullName,
})

Implementation

CustomerCreateDTO copyWith(
    {String? displayName, String? email, String? fullName}) {
  return CustomerCreateDTO(
    displayName: displayName ?? this.displayName,
    email: email ?? this.email,
    fullName: fullName ?? this.fullName,
  );
}