collect method

Future<SignalReport> collect()

Run the sources and assemble the report, without submitting.

Useful on its own: a debug screen, or seeing exactly what would be sent before agreeing to send it. Needs no key, but does need consent: throws FingerlyConsentException without it.

Implementation

Future<SignalReport> collect() async {
  final raw = await _invoke<String>('collect');

  return SignalReport.fromJson(_decode(raw));
}