toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': type,
'name': name,
'ttl': ttl,
'usage': usage,
'selector': selector,
'matchingType': matchingType,
'certificate': base64Encode(certificate),
};