copyWith method

InputModel copyWith({
  1. String? path,
  2. String? outputPath,
  3. String? sheetUrl,
  4. String? sheetId,
  5. String? sheetName,
  6. int? column,
  7. int? row,
  8. bool? all,
  9. String? keyName,
})

Implementation

InputModel copyWith({
  String? path,
  String? outputPath,
  String? sheetUrl,
  String? sheetId,
  String? sheetName,
  int? column,
  int? row,
  bool? all,
  String? keyName,
}) =>
    InputModel(
      path: path ?? this.path,
      outputPath: outputPath ?? this.outputPath,
      sheetUrl: sheetUrl ?? this.sheetUrl,
      sheetId: sheetId ?? this.sheetId,
      sheetName: sheetName ?? this.sheetName,
      column: column ?? this.column,
      row: row ?? this.row,
      all: all ?? this.all,
      keyName: keyName ?? this.keyName,
    );