toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'origin': origin,
'matchSubDomains': matchSubDomains,
'trialName': trialName,
'expiryTime': expiryTime.toJson(),
'isThirdParty': isThirdParty,
'usageRestriction': usageRestriction.toJson(),
};
}