toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternativeNameServerConfig != null)
        'alternativeNameServerConfig': alternativeNameServerConfig!,
      if (description != null) 'description': description!,
      if (enableInboundForwarding != null)
        'enableInboundForwarding': enableInboundForwarding!,
      if (enableLogging != null) 'enableLogging': enableLogging!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (networks != null) 'networks': networks!,
    };