jsonContent property

Map<String, dynamic>? get jsonContent

Implementation

Map<String, dynamic>? get jsonContent {
  final stringContent = this.stringContent;
  if (stringContent == null) return null;
  try {
    return jsonDecode(stringContent) as Map<String, dynamic>?;
  } catch (e) {
    return null;
  }
}