factory Approval.fromJson(Map<String, dynamic> json) { return Approval( approvalState: (json['approvalState'] as String?)?.toApprovalState(), userArn: json['userArn'] as String?, ); }