veilidchat work

This commit is contained in:
Christien Rioux 2023-07-12 21:28:00 -04:00
parent d48ce521b2
commit 4078c00098
3 changed files with 39 additions and 3 deletions

View file

@ -55,6 +55,8 @@ sealed class DHTSchema with _$DHTSchema {
_$DHTSchemaFromJson(json);
}
const DHTSchema defaultDHTSchema = DHTSchema.dflt(oCnt: 1);
@freezed
class DHTSchemaMember with _$DHTSchemaMember {
@Assert('mCnt > 0 && mCnt <= 65535', 'value out of range')