multiGetObjects method

Future<List<MgoObjectResponse>> multiGetObjects(
  1. List<String> objectIds, {
  2. MgoObjectDataOptions? options,
})

Implementation

Future<List<MgoObjectResponse>> multiGetObjects(List<String> objectIds,
    {MgoObjectDataOptions? options}) async {
  final data =
      await client.request('mgo_multiGetObjects', [objectIds, options?.toJson()]);
  List<MgoObjectResponse> list = [];
  for(var response in data){
    list.add(MgoObjectResponse.fromJson(response));
  }
  return list;
}