toString method
A string representation of this object.
Some classes have a default textual representation,
often paired with a static parse function (like int.parse).
These classes will provide the textual representation as
their string representation.
Other classes have no meaningful textual representation
that a program will care about.
Such classes will typically override toString to provide
useful information when inspecting the object,
mainly for debugging or logging.
Implementation
@override
String toString() {
final $contents = [
if (allowAddressCreation != null)
'allowAddressCreation=$allowAddressCreation',
if (allowAliasIpRanges != null) 'allowAliasIpRanges=$allowAliasIpRanges',
if (allowAutoModeSubnet != null)
'allowAutoModeSubnet=$allowAutoModeSubnet',
if (allowClassDFirewalls != null)
'allowClassDFirewalls=$allowClassDFirewalls',
if (allowCloudNat != null) 'allowCloudNat=$allowCloudNat',
if (allowCloudRouter != null) 'allowCloudRouter=$allowCloudRouter',
if (allowDefaultNicAttachment != null)
'allowDefaultNicAttachment=$allowDefaultNicAttachment',
if (allowExternalIpAccess != null)
'allowExternalIpAccess=$allowExternalIpAccess',
if (allowFirewallPolicy != null)
'allowFirewallPolicy=$allowFirewallPolicy',
if (allowInterconnect != null) 'allowInterconnect=$allowInterconnect',
if (allowIpForwarding != null) 'allowIpForwarding=$allowIpForwarding',
if (allowLoadBalancing != null) 'allowLoadBalancing=$allowLoadBalancing',
if (allowMultiNicInSameNetwork != null)
'allowMultiNicInSameNetwork=$allowMultiNicInSameNetwork',
if (allowMultiNicInSameSubnetwork != null)
'allowMultiNicInSameSubnetwork=$allowMultiNicInSameSubnetwork',
if (allowMulticast != null) 'allowMulticast=$allowMulticast',
if (allowNcc != null) 'allowNcc=$allowNcc',
if (allowNetworkMigration != null)
'allowNetworkMigration=$allowNetworkMigration',
if (allowPacketMirroring != null)
'allowPacketMirroring=$allowPacketMirroring',
if (allowPrivateGoogleAccess != null)
'allowPrivateGoogleAccess=$allowPrivateGoogleAccess',
if (allowPsc != null) 'allowPsc=$allowPsc',
if (allowSameNetworkUnicast != null)
'allowSameNetworkUnicast=$allowSameNetworkUnicast',
if (allowStaticRoutes != null) 'allowStaticRoutes=$allowStaticRoutes',
if (allowSubInterfaces != null) 'allowSubInterfaces=$allowSubInterfaces',
if (allowSubnetworkCreation != null)
'allowSubnetworkCreation=$allowSubnetworkCreation',
if (allowVpcFirewallRules != null)
'allowVpcFirewallRules=$allowVpcFirewallRules',
if (allowVpcPeering != null) 'allowVpcPeering=$allowVpcPeering',
if (allowVpn != null) 'allowVpn=$allowVpn',
if (multicast != null) 'multicast=$multicast',
if (predefinedNetworkInternalIpv6Range != null)
'predefinedNetworkInternalIpv6Range=$predefinedNetworkInternalIpv6Range',
if (unicast != null) 'unicast=$unicast',
].join(',');
return 'NetworkProfileNetworkFeatures(${$contents})';
}