JiraExpressionForAnalysis.fromJson constructor

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

Implementation

factory JiraExpressionForAnalysis.fromJson(Map<String, Object?> json) {
  return JiraExpressionForAnalysis(
    contextVariables: json[r'contextVariables'] as Map<String, Object?>?,
    expressions: (json[r'expressions'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}