toNative method
Implementation
@override
BrainBit2AmplifierParamNative toNative(BrainBit2AmplifierParam val) {
return BrainBit2AmplifierParamNative(
chSignalMode: List.generate(
val.chSignalMode.length, (index) => val.chSignalMode[index].index),
chResistUse: val.chResistUse,
chGain: List.generate(
val.chGain.length, (index) => val.chGain[index].index),
current: val.current);
}