ChannelModel.error constructor

ChannelModel.error({
  1. required String channelName,
  2. String? methodName = '',
  3. dynamic arguments = '',
  4. int type = -1,
})

Implementation

ChannelModel.error({
  required this.channelName,
  this.methodName = '',
  this.arguments = '',
  this.type = -1,
}) : sendTimestamp = DateTime.now().millisecondsSinceEpoch;