AlgoArgon2.fromMap constructor

AlgoArgon2.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AlgoArgon2.fromMap(Map<String, dynamic> map) {
  return AlgoArgon2(
    type: map['type'].toString(),
    memoryCost: map['memoryCost'],
    timeCost: map['timeCost'],
    threads: map['threads'],
  );
}