Response constructor

Response({
  1. bool? success,
  2. String? errorCode,
  3. String? message,
  4. Map<String, dynamic>? data,
})

Answer from platform plugins

Implementation

Response({
  this.success,
  this.errorCode,
  this.message,
  this.data,
});