BlockGetRequest constructor

BlockGetRequest({
  1. String? spaceId,
  2. List<int>? cid,
  3. bool? wait,
})

Implementation

factory BlockGetRequest({
  $core.String? spaceId,
  $core.List<$core.int>? cid,
  $core.bool? wait,
}) {
  final result = create();
  if (spaceId != null) result.spaceId = spaceId;
  if (cid != null) result.cid = cid;
  if (wait != null) result.wait = wait;
  return result;
}