MsSmoothEncryptionSettings.fromJson constructor

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

Implementation

factory MsSmoothEncryptionSettings.fromJson(Map<String, dynamic> json) {
  return MsSmoothEncryptionSettings(
    spekeKeyProvider: json['spekeKeyProvider'] != null
        ? SpekeKeyProvider.fromJson(
            json['spekeKeyProvider'] as Map<String, dynamic>)
        : null,
  );
}