ResponseEntity<T> constructor

ResponseEntity<T>(
  1. bool ok, {
  2. required T? response,
  3. String? message,
  4. Map<String, dynamic>? errors,
})

Implementation

ResponseEntity(
  this.ok, {
  required this.response,
  this.message,
  this.errors,
});