getVersionByRequest method

Future<GetVersionResponse> getVersionByRequest (GetVersionRequest request, { SpongeRequestContext context })

Sends the version request to the server and returns the response.

Implementation

Future<GetVersionResponse> getVersionByRequest(GetVersionRequest request,
        {SpongeRequestContext context}) async =>
    await execute(SpongeClientConstants.OPERATION_VERSION, request,
        (json) => GetVersionResponse.fromJson(json), context);