toModel method

LightSettings toModel()

Implementation

fmc1.LightSettings toModel() {
  return fmc1.LightSettings(
    color: fmc1.Color(
      red: color.red,
      green: color.green,
      blue: color.blue,
      alpha: color.alpha,
    ),
    lightOnDuration: lightOnDurationMillis,
    lightOffDuration: lightOffDurationMillis,
  );
}