copyWith method

Blake2sConfig copyWith({
  1. List<int>? key,
  2. List<int>? salt,
  3. List<int>? personalization,
  4. Blake2sTree? tree,
})

Implementation

Blake2sConfig copyWith({
  List<int>? key,
  List<int>? salt,
  List<int>? personalization,
  Blake2sTree? tree,
}) {
  return Blake2sConfig(
    key: key ?? this.key,
    salt: salt ?? this.salt,
    personalization: personalization ?? this.personalization,
    tree: tree ?? this.tree,
  );
}