ApprovalRuleTemplate.fromJson constructor
ApprovalRuleTemplate.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ApprovalRuleTemplate.fromJson(Map<String, dynamic> json) {
return ApprovalRuleTemplate(
approvalRuleTemplateContent:
json['approvalRuleTemplateContent'] as String?,
approvalRuleTemplateDescription:
json['approvalRuleTemplateDescription'] as String?,
approvalRuleTemplateId: json['approvalRuleTemplateId'] as String?,
approvalRuleTemplateName: json['approvalRuleTemplateName'] as String?,
creationDate: timeStampFromJson(json['creationDate']),
lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
lastModifiedUser: json['lastModifiedUser'] as String?,
ruleContentSha256: json['ruleContentSha256'] as String?,
);
}