copyWith method

WebApiModulesAdministratorPluginPlugin copyWith({
  1. int? pluginId,
  2. String? category,
  3. String? description,
  4. String? settings,
  5. DateTime? dateStamp,
  6. bool? enabled,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesAdministratorPluginPlugin copyWith(
    {int? pluginId,
    String? category,
    String? description,
    String? settings,
    DateTime? dateStamp,
    bool? enabled,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesAdministratorPluginPlugin(
      pluginId: pluginId ?? this.pluginId,
      category: category ?? this.category,
      description: description ?? this.description,
      settings: settings ?? this.settings,
      dateStamp: dateStamp ?? this.dateStamp,
      enabled: enabled ?? this.enabled,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}