DashEncryption.fromJson constructor

DashEncryption.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DashEncryption.fromJson(Map<String, dynamic> json) {
  return DashEncryption(
    spekeKeyProvider: SpekeKeyProvider.fromJson(
        json['spekeKeyProvider'] as Map<String, dynamic>),
    keyRotationIntervalSeconds: json['keyRotationIntervalSeconds'] as int?,
  );
}