FrostKeyShare constructor
FrostKeyShare({
- required int id,
Implementation
FrostKeyShare({required int id, required List<int> share})
: share =
share
.exc(
length: 32,
operation: 'FrostKeyShare',
reason: 'Invalid share length.',
)
.asImmutableBytes,
id = id.asU32;