copyWithService method
Implementation
Keychain copyWithService(
String name,
String derivationPath, {
String curve = 'ed25519',
String hashAlgo = 'sha256',
}) {
return copyWith(
services: <String, Service>{
...services,
name: Service(
derivationPath: derivationPath,
curve: curve,
hashAlgo: hashAlgo,
),
},
);
}