toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deleteFiles = this.deleteFiles;
  final replaceContents = this.replaceContents;
  final setFileModes = this.setFileModes;
  return {
    if (deleteFiles != null) 'deleteFiles': deleteFiles,
    if (replaceContents != null) 'replaceContents': replaceContents,
    if (setFileModes != null) 'setFileModes': setFileModes,
  };
}