toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"id": id,
"required_elements": requiredElements.map((i) => i.toJson()).toList(),
"privacy_policy_url": privacyPolicyUrl,
};
}