toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (displayName != null) 'displayName': displayName!,
if (environment != null) 'environment': environment!,
if (runtime != null) 'runtime': runtime!,
if (uri != null) 'uri': uri!,
};