toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"issuedBy": issuedBy?.toMap(),
"issuedTo": issuedTo?.toMap(),
"validNotAfterDate": validNotAfterDate?.millisecondsSinceEpoch,
"validNotBeforeDate": validNotBeforeDate?.millisecondsSinceEpoch,
"x509Certificate": x509Certificate?.toMap(),
};
}