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