HmsCipher.fromMap constructor

HmsCipher.fromMap(
  1. Map map
)

Implementation

factory HmsCipher.fromMap(Map<dynamic, dynamic> map) {
  return HmsCipher(
      algorithm: map['algorithm'],
      blockSize: map['blockSize'],
      iv: map['iv'],
      algorithmParameters: map['algorithmParameters'] != null
          ? HmsAlgorithmParameters.fromMap(map['algorithmParameters'])
          : null);
}