copyWith method
WebApiModulesUtilitiesGLDistributionGLDistribution
copyWith({
- String? date,
- String? glAccountNo,
- String? glAccountDescription,
- double? debit,
- double? credit,
- String? glAccountId,
- String? groupHeading,
- int? orderBy,
- int? groupHeadingOrder,
- String? currencyId,
- String? currencyCode,
- String? currency,
- String? currencySymbol,
- String? officeLocationId,
- String? officeLocation,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesUtilitiesGLDistributionGLDistribution copyWith(
{String? date,
String? glAccountNo,
String? glAccountDescription,
double? debit,
double? credit,
String? glAccountId,
String? groupHeading,
int? orderBy,
int? groupHeadingOrder,
String? currencyId,
String? currencyCode,
String? currency,
String? currencySymbol,
String? officeLocationId,
String? officeLocation,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesUtilitiesGLDistributionGLDistribution(
date: date ?? this.date,
glAccountNo: glAccountNo ?? this.glAccountNo,
glAccountDescription: glAccountDescription ?? this.glAccountDescription,
debit: debit ?? this.debit,
credit: credit ?? this.credit,
glAccountId: glAccountId ?? this.glAccountId,
groupHeading: groupHeading ?? this.groupHeading,
orderBy: orderBy ?? this.orderBy,
groupHeadingOrder: groupHeadingOrder ?? this.groupHeadingOrder,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currency: currency ?? this.currency,
currencySymbol: currencySymbol ?? this.currencySymbol,
officeLocationId: officeLocationId ?? this.officeLocationId,
officeLocation: officeLocation ?? this.officeLocation,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}