Map<String, dynamic> toMap() { return <String, dynamic>{ 'connectionType': connectionType, 'serviceAttachment': serviceAttachment, }; }