CreateDiskSnapshotResult.fromJson constructor

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

Implementation

factory CreateDiskSnapshotResult.fromJson(Map<String, dynamic> json) {
  return CreateDiskSnapshotResult(
    operations: (json['operations'] as List?)
        ?.whereNotNull()
        .map((e) => Operation.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}