create abstract method

  1. @POST.new("/api-key/create")
Future<Result<ApiKey>> create({
  1. @Body.new() required CreateApiKeyBody body,
})

Creates a key. The returned ApiKey.key is the only time the full secret is exposed.

Implementation

@POST("/api-key/create")
Future<Result<ApiKey>> create({@Body() required CreateApiKeyBody body});