Result constructor

Result({
  1. dynamic data,
  2. int statusCode = 200,
})

Implementation

Result({
  this.data,
  this.statusCode = 200,
});