info method
Returns info of the collection
Implementation
Future<String> info() async {
var request = client.prepareRequest('/_api/collection/' + name);
var streamedResponse = await client.send(request);
var res = await streamedResponse.stream.bytesToString();
return res;
}