SearchBucketContentBySchemaResponse constructor Null safety

SearchBucketContentBySchemaResponse(
  1. {int? status,
  2. String? bucketDid,
  3. String? schemaDid,
  4. Iterable<List<int>>? content}
)

Implementation

factory SearchBucketContentBySchemaResponse({
  $core.int? status,
  $core.String? bucketDid,
  $core.String? schemaDid,
  $core.Iterable<$core.List<$core.int>>? content,
}) {
  final _result = create();
  if (status != null) {
    _result.status = status;
  }
  if (bucketDid != null) {
    _result.bucketDid = bucketDid;
  }
  if (schemaDid != null) {
    _result.schemaDid = schemaDid;
  }
  if (content != null) {
    _result.content.addAll(content);
  }
  return _result;
}