ModeInfo_Multi constructor

ModeInfo_Multi({
  1. CompactBitArray? bitarray,
  2. Iterable<ModeInfo>? modeInfos,
})

Implementation

factory ModeInfo_Multi({
  $1.CompactBitArray? bitarray,
  $core.Iterable<ModeInfo>? modeInfos,
}) {
  final _result = create();
  if (bitarray != null) {
    _result.bitarray = bitarray;
  }
  if (modeInfos != null) {
    _result.modeInfos.addAll(modeInfos);
  }
  return _result;
}