toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.buildCommand != null) {
    json[r'build_command'] = this.buildCommand;
  } else {
    json[r'build_command'] = null;
  }
  if (this.destinationDir != null) {
    json[r'destination_dir'] = this.destinationDir;
  } else {
    json[r'destination_dir'] = null;
  }
  if (this.rootDir != null) {
    json[r'root_dir'] = this.rootDir;
  } else {
    json[r'root_dir'] = null;
  }
  return json;
}