getMissionProfile method

Future<GetMissionProfileResponse> getMissionProfile({
  1. required String missionProfileId,
})

Returns a mission profile.

May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.

Parameter missionProfileId : UUID of a mission profile.

Implementation

Future<GetMissionProfileResponse> getMissionProfile({
  required String missionProfileId,
}) async {
  ArgumentError.checkNotNull(missionProfileId, 'missionProfileId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/missionprofile/${Uri.encodeComponent(missionProfileId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMissionProfileResponse.fromJson(response);
}