copyWith method

FwStandardSqlServerFwJsonDataTable copyWith({
  1. Map<String, dynamic>? columnIndex,
  2. Map<String, dynamic>? totals,
  3. List<FwStandardSqlServerFwJsonDataTableColumn>? columns,
  4. List<List<Object?>>? rows,
  5. int? pageNo,
  6. int? pageSize,
  7. int? totalPages,
  8. int? totalRows,
  9. List<String>? dateFields,
  10. Map<String, dynamic>? columnNameByIndex,
  11. String? serverVersion,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

FwStandardSqlServerFwJsonDataTable copyWith({
  Map<String, dynamic>? columnIndex,
  Map<String, dynamic>? totals,
  List<FwStandardSqlServerFwJsonDataTableColumn>? columns,
  List<List<Object?>>? rows,
  int? pageNo,
  int? pageSize,
  int? totalPages,
  int? totalRows,
  List<String>? dateFields,
  Map<String, dynamic>? columnNameByIndex,
  String? serverVersion,
  List<FwStandardDataFwTranslatedValue>? translation,
}) {
  return FwStandardSqlServerFwJsonDataTable(
    columnIndex: columnIndex ?? this.columnIndex,
    totals: totals ?? this.totals,
    columns: columns ?? this.columns,
    rows: rows ?? this.rows,
    pageNo: pageNo ?? this.pageNo,
    pageSize: pageSize ?? this.pageSize,
    totalPages: totalPages ?? this.totalPages,
    totalRows: totalRows ?? this.totalRows,
    dateFields: dateFields ?? this.dateFields,
    columnNameByIndex: columnNameByIndex ?? this.columnNameByIndex,
    serverVersion: serverVersion ?? this.serverVersion,
    translation: translation ?? this.translation,
  );
}