DataResult<T> constructor

DataResult<T>({
  1. required bool success,
  2. required String message,
  3. T? data,
  4. required String code,
})

Implementation

DataResult({required this.success, required this.message, this.data, required this.code});