core.Map<core.String, core.dynamic> toJson() => { if (branch != null) 'branch': branch!, if (invertRegex != null) 'invertRegex': invertRegex!, if (tag != null) 'tag': tag!, };