copyWith method

MonoNewCustomerModel copyWith({
  1. String? name,
  2. String? email,
  3. MonoNewCustomerIdentity? identity,
})

Implementation

MonoNewCustomerModel copyWith({
  String? name,
  String? email,
  MonoNewCustomerIdentity? identity,
}) {
  return MonoNewCustomerModel(
    name: name ?? this.name,
    email: email ?? this.email,
    identity: identity ?? this.identity,
  );
}