setActive abstract method

  1. @POST.new("/organization/set-active")
Future<Result<FullOrganization>> setActive({
  1. @Body.new() required Map<String, dynamic> body,
})

Sets the active organization for the session. Pass a null id to clear it.

Implementation

@POST("/organization/set-active")
Future<Result<FullOrganization>> setActive({
  @Body() required Map<String, dynamic> body,
});