Token constructor

Token({
  1. List<int>? payload,
  2. List<int>? signature,
})

Implementation

factory Token({
  $core.List<$core.int>? payload,
  $core.List<$core.int>? signature,
}) {
  final _result = create();
  if (payload != null) {
    _result.payload = payload;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  return _result;
}