BatchWriteException.fromJson constructor

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

Implementation

factory BatchWriteException.fromJson(Map<String, dynamic> json) {
  return BatchWriteException(
    index: json['Index'] as int?,
    message: json['Message'] as String?,
    type: (json['Type'] as String?)?.toBatchWriteExceptionType(),
  );
}