Aria2cRequest constructor

Aria2cRequest({
  1. required String method,
  2. required List params,
  3. String jsonrpc = '2.0',
  4. String token = '',
})

Implementation

Aria2cRequest(
    {required this.method,
    required this.params,
    this.jsonrpc = '2.0',
    String token = ''})
    : _token = token,
      id = const Uuid().v4();