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