CreateInstanceSnapshotResult.fromJson constructor

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

Implementation

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