toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adult != null) 'adult': adult!,
      if (medical != null) 'medical': medical!,
      if (racy != null) 'racy': racy!,
      if (spoof != null) 'spoof': spoof!,
      if (violence != null) 'violence': violence!,
    };