GetDiskSnapshotResult.fromJson constructor

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

Implementation

factory GetDiskSnapshotResult.fromJson(Map<String, dynamic> json) {
  return GetDiskSnapshotResult(
    diskSnapshot: json['diskSnapshot'] != null
        ? DiskSnapshot.fromJson(json['diskSnapshot'] as Map<String, dynamic>)
        : null,
  );
}