toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'securityState': securityState.toJson(),
    'title': title,
    'summary': summary,
    'description': description,
    'mixedContentType': mixedContentType.toJson(),
    'certificate': [...certificate],
    if (recommendations != null) 'recommendations': [...?recommendations],
  };
}