getInstances method Null safety

Future<InstanceSet> getInstances(
  1. String objectId,
  2. int limit
)

Implementation

Future<vm.InstanceSet> getInstances(String objectId, int limit) async {
  vm.VmService virtualMachine = await getVMService();
  return virtualMachine.getInstances(isolateId!, objectId, limit);
}