AnalysisError.fromJson constructor

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

Implementation

factory AnalysisError.fromJson(Map<String, dynamic> json) {
  return AnalysisError(
    message: json['Message'] as String?,
    type: (json['Type'] as String?)?.toAnalysisErrorType(),
  );
}