ChannelModel constructor

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

Implementation

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