updateCurrentApplication method

Future<Application> updateCurrentApplication(
  1. ApplicationUpdateBuilder builder
)

Update the current application.

Implementation

Future<Application> updateCurrentApplication(ApplicationUpdateBuilder builder) async {
  final route = HttpRoute()..applications(id: '@me');
  final request = BasicRequest(route, method: 'PATCH', body: jsonEncode(builder.build()));

  final response = await client.httpHandler.executeSafe(request);
  return parse(response.jsonBody as Map<String, Object?>);
}