JiraExpressionsComplexityBean.fromJson constructor

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

Implementation

factory JiraExpressionsComplexityBean.fromJson(Map<String, Object?> json) {
  return JiraExpressionsComplexityBean(
    beans: JiraExpressionsComplexityValueBean.fromJson(
        json[r'beans'] as Map<String, Object?>? ?? const {}),
    expensiveOperations: JiraExpressionsComplexityValueBean.fromJson(
        json[r'expensiveOperations'] as Map<String, Object?>? ?? const {}),
    primitiveValues: JiraExpressionsComplexityValueBean.fromJson(
        json[r'primitiveValues'] as Map<String, Object?>? ?? const {}),
    steps: JiraExpressionsComplexityValueBean.fromJson(
        json[r'steps'] as Map<String, Object?>? ?? const {}),
  );
}