Authorization constructor

Authorization({
  1. required int chainId,
  2. required String address,
  3. required BigInt nonce,
  4. int? yParity,
  5. BigInt? r,
  6. BigInt? s,
})

Implementation

Authorization({
  required this.chainId,
  required this.address,
  required this.nonce,
  int? yParity,
  BigInt? r,
  BigInt? s,
})  : yParity = yParity ?? 0,
      r = r ?? BigInt.zero,
      s = s ?? BigInt.zero;