AlgoScrypt.fromMap constructor

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

Implementation

factory AlgoScrypt.fromMap(Map<String, dynamic> map) {
  return AlgoScrypt(
    type: map['type'].toString(),
    costCpu: map['costCpu'],
    costMemory: map['costMemory'],
    costParallel: map['costParallel'],
    length: map['length'],
  );
}