JiraExpressionEvalRequestBean.fromJson constructor

JiraExpressionEvalRequestBean.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory JiraExpressionEvalRequestBean.fromJson(Map<String, Object?> json) {
  return JiraExpressionEvalRequestBean(
    context: json[r'context'] != null
        ? JiraExpressionEvalContextBean.fromJson(
            json[r'context']! as Map<String, Object?>)
        : null,
    expression: json[r'expression'] as String? ?? '',
  );
}