request method
Event Send request query
Implementation
Future<T> request() async {
MutationOptions<Object?> options = await this.options;
GraphQLClient client = await PipenGraphqlClient.getFromInstance(this);
QueryResult result = await client.mutate(options);
try {
PipenGraphqlResponse response = PipenGraphqlResponse<T>(instance: this, result: result);
return await response.process(onSuccess);
} catch (e) {
rethrow;
}
}