createLocMixer method

Future<int> createLocMixer(
  1. String mixerID,
  2. CrMixerCfg mixerCfg,
  3. List<CrMixerCotentRect> mixerCotentRect
)

Implementation

Future<int> createLocMixer(
  String mixerID,
  CrMixerCfg mixerCfg,
  List<CrMixerCotentRect> mixerCotentRect,
) async {
  final String mixerCotentRects = mixerCotentRect
      .map((rect) => json.encode(rect.toJson()))
      .toList()
      .toString();
  return await CrImpl.instance.createLocMixer(
      mixerID, json.encode(mixerCfg.toLocalMixJson()), mixerCotentRects);
}