@override Object toJson() => { if (gcsOutputDirectory case final gcsOutputDirectory?) 'gcsOutputDirectory': gcsOutputDirectory, };