AutoSnapshotDetails.fromJson constructor
Implementation
factory AutoSnapshotDetails.fromJson(Map<String, dynamic> json) {
return AutoSnapshotDetails(
createdAt: timeStampFromJson(json['createdAt']),
date: json['date'] as String?,
fromAttachedDisks: (json['fromAttachedDisks'] as List?)
?.whereNotNull()
.map((e) => AttachedDisk.fromJson(e as Map<String, dynamic>))
.toList(),
status: (json['status'] as String?)?.toAutoSnapshotStatus(),
);
}