response method

Map<String, Object?> response(
  1. String requestId, {
  2. String result = 'te6ccg',
})

A successful response to the request with requestId.

Implementation

Map<String, Object?> response(String requestId, {String result = 'te6ccg'}) =>
    {'result': result, 'id': requestId};