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