copyWith method

AccountRequestMessage copyWith({
  1. String? name,
  2. int? commissionPercent,
})

Implementation

AccountRequestMessage copyWith({
  String? name,
  int? commissionPercent,
}) {
  return AccountRequestMessage(
    name: name ?? this.name,
    commissionPercent: commissionPercent ?? this.commissionPercent,
  );
}