ErrorInfo.fromJson constructor

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

Implementation

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