toSigner method

Signer toSigner({
  1. bool includePubKey = false,
  2. bool includeSig = true,
})

Implementation

Signer toSigner({
  bool includePubKey = false,
  bool includeSig = true,
}) {
  return Signer(
    pubKey: includePubKey ? pubKey : null,
    sig: includeSig ? sig : null,
  );
}