toSignature method

ETHSignature toSignature()

Implementation

ETHSignature toSignature() {
  final sigBytes = [
    ...BytesUtils.fromHexString(r),
    ...BytesUtils.fromHexString(s)
  ];
  return ETHSignature.fromBytes(sigBytes);
}