Request constructor
Initialize a newly created Request to have the given id
and method
name. If params
is supplied, it is used as the "params" map for the
request. Otherwise an empty "params" map is allocated.
Implementation
Request(this.id, this.method,
[Map<String, Object?>? params, this.serverRequestTime])
: params = params ?? <String, Object?>{};