JiraExpressionValidationError.fromJson constructor

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

Implementation

factory JiraExpressionValidationError.fromJson(Map<String, Object?> json) {
  return JiraExpressionValidationError(
    column: (json[r'column'] as num?)?.toInt(),
    expression: json[r'expression'] as String?,
    line: (json[r'line'] as num?)?.toInt(),
    message: json[r'message'] as String? ?? '',
    type: JiraExpressionValidationErrorType.fromValue(
        json[r'type'] as String? ?? ''),
  );
}