toWire method

AlarmSettingsWire toWire()

Converts to wire datatype which is used for host platform communication.

Implementation

AlarmSettingsWire toWire() => AlarmSettingsWire(
      id: id,
      millisecondsSinceEpoch: dateTime.millisecondsSinceEpoch,
      assetAudioPath: assetAudioPath,
      volumeSettings: volumeSettings.toWire(),
      notificationSettings: notificationSettings.toWire(),
      loopAudio: loopAudio,
      vibrate: vibrate,
      warningNotificationOnKill: warningNotificationOnKill,
      androidFullScreenIntent: androidFullScreenIntent,
      allowAlarmOverlap: allowAlarmOverlap,
      iOSBackgroundAudio: iOSBackgroundAudio,
    );