FormattedJson constructor

const FormattedJson({
  1. Key? key,
  2. Map<String, dynamic>? json,
  3. String? formattedString,
  4. bool useSubtleStyle = false,
})

Implementation

const FormattedJson({
  super.key,
  this.json,
  this.formattedString,
  this.useSubtleStyle = false,
}) : assert((json == null) != (formattedString == null));