request method

Future request(
  1. String method, [
  2. List? args
])

Implementation

Future<dynamic> request(String method, [List<dynamic>? args]) async {
  final result = await sendRequest(method, args ?? []);

  return result;
}