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