G2Element class

An instance of G2Element.

Annotations

Constructors

G2Element.fromBytes({required Uint8List data})
Create a G2Element instance from data.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

free() → void
Release a G2Element instance from memory.
hexString() String
Hex representation of G2Element instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Uint8List
Serialize a G2Element instance into list of bytes.
toString() String
A string representation of this object.
inherited

Operators

operator *(PrivateKey pk) G2Element
Multiply an instance with PrivateKey.
operator +(G2Element g2) G2Element
Add an instance to another G2Element.
operator ==(Object other) bool
The equality operator.
override