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,
      notificationSettings: notificationSettings.toWire(),
      loopAudio: loopAudio,
      vibrate: vibrate,
      volume: volume,
      volumeEnforced: volumeEnforced,
      fadeDuration: fadeDuration,
      warningNotificationOnKill: warningNotificationOnKill,
      androidFullScreenIntent: androidFullScreenIntent,
    );