BatchUpdateResult.fromJson constructor

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

Creates from JSON

Implementation

factory BatchUpdateResult.fromJson(Map<String, dynamic> json) {
  return BatchUpdateResult(
    modifiedCount: json['modifiedCount'] as int,
    matchedCount: json['matchedCount'] as int,
  );
}