Session constructor

Session({
  1. required ICore core,
  2. required Logger? logger,
})

Implementation

Session({required super.core, required super.logger})
    : super(
        name: SESSION_CONTEXT,
        storagePrefix: SIGN_CLIENT_STORAGE_PREFIX,
        fromJson: (v) => SessionStruct.fromJson(v),
        toJson: (v) => v.toJson(),
      );