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