ECFieldElement constructor

ECFieldElement(
  1. BigInt? q,
  2. BigInt? x
)

Implementation

ECFieldElement(this.q, this.x) {
  if (x! >= q!) {
    throw ArgumentError('Value x must be smaller than q');
  }
}