getSpace method

Future<SpaceResponse> getSpace(
  1. String pathOrKref
)
inherited

Gets a space by its path or kref.

pathOrKref can be either a path (e.g., '/project/space') or a kref URI (e.g., 'kref:///project/space').

Implementation

Future<SpaceResponse> getSpace(String pathOrKref) async {
  final request = GetSpaceRequest()..pathOrKref = pathOrKref;
  return stub.getSpace(request, options: callOptions);
}