Status.from constructor

Status.from({
  1. required int code,
  2. required String reasonPhrase,
})

Returns the new instance of Status based on arguments.

Implementation

Status.from({
  required this.code,
  required this.reasonPhrase,
});