Payment copyWith({ int? type, int? sum, }) => Payment( type: type ?? this.type, sum: sum ?? this.sum, );