toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (status != null) {
_json[r'status'] = status;
}
if (serviceName != null) {
_json[r'serviceName'] = serviceName;
}
if (appId != null) {
_json[r'appId'] = appId;
}
if (imageId != null) {
_json[r'imageId'] = imageId;
}
if (serviceId != null) {
_json[r'serviceId'] = serviceId;
}
if (containerId != null) {
_json[r'containerId'] = containerId;
}
if (createdAt != null) {
_json[r'createdAt'] = createdAt;
}
return _json;
}