toJson method

Map<String, dynamic> toJson()

Implementation

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