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