ApprovalStateChangedEventMetadata.fromJson constructor

ApprovalStateChangedEventMetadata.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ApprovalStateChangedEventMetadata.fromJson(
    Map<String, dynamic> json) {
  return ApprovalStateChangedEventMetadata(
    approvalStatus: (json['approvalStatus'] as String?)?.toApprovalState(),
    revisionId: json['revisionId'] as String?,
  );
}