toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dsRecords != null)
        'dsRecords': dsRecords!.map((value) => value.toJson()).toList(),
      if (dsState != null) 'dsState': dsState!,
      if (nameServers != null) 'nameServers': nameServers!,
    };