response method

Map response({
  1. int to = 1,
  2. dynamic result = 1,
  3. int id = 2,
})

Implementation

Map response({
  int to = 1,
  dynamic result = 1,
  int id = 2,
}) =>
    {
      'cmd': 'response',
      'to': to,
      'result': result,
      'id': id,
    };