DictionarySetRequest_ constructor

DictionarySetRequest_({
  1. List<int>? dictionaryName,
  2. Iterable<DictionaryFieldValuePair_>? items,
  3. Int64? ttlMilliseconds,
  4. bool? refreshTtl,
})

Implementation

factory DictionarySetRequest_({
  $core.List<$core.int>? dictionaryName,
  $core.Iterable<DictionaryFieldValuePair_>? items,
  $fixnum.Int64? ttlMilliseconds,
  $core.bool? refreshTtl,
}) {
  final $result = create();
  if (dictionaryName != null) {
    $result.dictionaryName = dictionaryName;
  }
  if (items != null) {
    $result.items.addAll(items);
  }
  if (ttlMilliseconds != null) {
    $result.ttlMilliseconds = ttlMilliseconds;
  }
  if (refreshTtl != null) {
    $result.refreshTtl = refreshTtl;
  }
  return $result;
}