toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() => {
  ...envelopeJson(),
  'capturedAt': capturedAt,
  'counts': counts.toJson(),
  'history': history.toJson(),
  'snapshots': snapshots.toJson(),
  'activePreviews': activePreviews
      .map((preview) => preview.toJson())
      .toList(growable: false),
};