toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'adFrameType': adFrameType.toJson(),
    if (explanations != null)
      'explanations': explanations!.map((e) => e.toJson()).toList(),
  };
}