updateTheme method
Updates the theme with the given Id.
@param {String} themeId The Id of the theme to update. @param {ThemeRequest} request The request that contains all the new theme information. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<ThemeResponse, Errors>> updateTheme(
String themeId, ThemeRequest request) {
return _start<ThemeResponse, Errors>()
.withUri('/api/theme')
.withUriSegment(themeId)
.withJSONBody(request)
.withMethod('PUT')
.withResponseHandler(
defaultResponseHandlerBuilder((d) => ThemeResponse.fromJson(d)))
.go();
}