toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final spekeKeyProvider = this.spekeKeyProvider;
  final keyRotationIntervalSeconds = this.keyRotationIntervalSeconds;
  return {
    'spekeKeyProvider': spekeKeyProvider,
    if (keyRotationIntervalSeconds != null)
      'keyRotationIntervalSeconds': keyRotationIntervalSeconds,
  };
}