toJson method
Implementation
Map<String, dynamic> toJson() {
final policyReference = this.policyReference;
final maxResults = this.maxResults;
final nextToken = this.nextToken;
return {
'PolicyReference': policyReference,
if (maxResults != null) 'MaxResults': maxResults,
if (nextToken != null) 'NextToken': nextToken,
};
}