CaptureSnapshotResult.fromJson constructor
Implementation
factory CaptureSnapshotResult.fromJson(Map<String, dynamic> json) {
return CaptureSnapshotResult(
documents:
(json['documents'] as List)
.map((e) => DocumentSnapshot.fromJson(e as Map<String, dynamic>))
.toList(),
strings: (json['strings'] as List).map((e) => e as String).toList(),
);
}