ABCIMessageLog constructor

ABCIMessageLog({
  1. int? msgIndex,
  2. String? log,
  3. Iterable<StringEvent>? events,
})

Implementation

factory ABCIMessageLog({
  $core.int? msgIndex,
  $core.String? log,
  $core.Iterable<StringEvent>? events,
}) {
  final _result = create();
  if (msgIndex != null) {
    _result.msgIndex = msgIndex;
  }
  if (log != null) {
    _result.log = log;
  }
  if (events != null) {
    _result.events.addAll(events);
  }
  return _result;
}