toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
json[r'tenantId'] = this.tenantId;
json[r'customTemplateId'] = this.customTemplateId;
json[r'error'] = this.error;
json[r'count'] = this.count;
json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'lastOccurredAt'] = this.lastOccurredAt.toUtc().toIso8601String();
return json;
}