Message constructor

Message({
  1. required Typ typ,
  2. required int id,
  3. String? method,
  4. dynamic param,
  5. dynamic error,
})

Create instance.

Implementation

Message({
  required this.typ,
  required this.id,
  this.method,
  this.param,
  this.error,
});