toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'version'] = version;
if (release != null) {
_json[r'release'] = release;
}
if (createdAt != null) {
_json[r'createdAt'] = createdAt!.toUtc().toIso8601String();
}
_json[r'service'] = service;
if (firewall != null) {
_json[r'firewall'] = firewall;
}
_json[r'connections'] = connections;
return _json;
}