toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (hasStatefulConfig != null) 'hasStatefulConfig': hasStatefulConfig!,
if (perInstanceConfigs != null)
'perInstanceConfigs': perInstanceConfigs!,
};