copyWith method

PayMongoBilling copyWith({
  1. String? name,
  2. String? phone,
  3. String? email,
  4. PayMongoAddress? address,
})

Implementation

PayMongoBilling copyWith({
  String? name,
  String? phone,
  String? email,
  PayMongoAddress? address,
}) {
  return PayMongoBilling(
    name: name ?? this.name,
    phone: phone ?? this.phone,
    email: email ?? this.email,
    address: address ?? this.address,
  );
}