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