KeyRequest constructor

KeyRequest({
  1. String? key,
  2. List<int>? data,
})

Implementation

factory KeyRequest({
  $core.String? key,
  $core.List<$core.int>? data,
}) {
  final $result = create();
  if (key != null) {
    $result.key = key;
  }
  if (data != null) {
    $result.data = data;
  }
  return $result;
}