Basic constructor

Basic({
  1. dynamic status,
  2. dynamic success,
  3. String? message,
  4. String? msg,
})

Implementation

Basic({
  dynamic status,
  dynamic success,
  String? message,
  String? msg,
})  : _msg = msg, _message = message, _status = status is bool ? status : status == 1,
      _success = success is bool ? success : success == 1;