ReviewActionDetail.fromJson constructor

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

Implementation

factory ReviewActionDetail.fromJson(Map<String, dynamic> json) {
  return ReviewActionDetail(
    actionId: json['ActionId'] as String?,
    actionName: json['ActionName'] as String?,
    completeTime: timeStampFromJson(json['CompleteTime']),
    errorCode: json['ErrorCode'] as String?,
    result: json['Result'] as String?,
    status: (json['Status'] as String?)?.toReviewActionStatus(),
    targetId: json['TargetId'] as String?,
    targetType: json['TargetType'] as String?,
  );
}