ModeInfo constructor

ModeInfo({
  1. ModeInfo_Single? single,
  2. ModeInfo_Multi? multi,
})

Implementation

factory ModeInfo({
  ModeInfo_Single? single,
  ModeInfo_Multi? multi,
}) {
  final _result = create();
  if (single != null) {
    _result.single = single;
  }
  if (multi != null) {
    _result.multi = multi;
  }
  return _result;
}