ListSnapshotsResponse constructor

ListSnapshotsResponse({
  1. Iterable<SnapshotDescription>? snapshotDescriptions,
  2. double? time,
})

Implementation

factory ListSnapshotsResponse({
  $core.Iterable<SnapshotDescription>? snapshotDescriptions,
  $core.double? time,
}) {
  final $result = create();
  if (snapshotDescriptions != null) {
    $result.snapshotDescriptions.addAll(snapshotDescriptions);
  }
  if (time != null) {
    $result.time = time;
  }
  return $result;
}