Success<T> constructor

const Success<T>({
  1. required T body,
})

Constructs a Success response with the given body.

Implementation

const Success({
  required this.body,
});