DbResult<T> constructor

DbResult<T>({
  1. required T data,
  2. int? statusCode,
  3. Map<String, dynamic>? headers,
  4. bool success = true,
})

Implementation

DbResult(
    {required this.data, this.statusCode, this.headers, this.success = true});