Map<String, dynamic> toMap() { return <String, dynamic>{ 'networkAttachment': networkAttachment, 'routeAllTraffic': ?routeAllTraffic, }; }