toJson method

Map<String, Object?> toJson({
  1. String prefix = 'Render',
  2. int maxFrameLines = 3,
})

Builds a serialization-friendly payload for the whole capture state.

Implementation

Map<String, Object?> toJson({
  String prefix = 'Render',
  int maxFrameLines = 3,
}) {
  return payload(prefix: prefix, maxFrameLines: maxFrameLines).toJson();
}