toJson method
Implementation
Map<String, dynamic> toJson() {
final actions = this.actions;
final principals = this.principals;
final principalOrgIDs = this.principalOrgIDs;
final statementId = this.statementId;
return {
'actions': actions,
'principals': principals,
if (principalOrgIDs != null) 'principalOrgIDs': principalOrgIDs,
if (statementId != null) 'statementId': statementId,
};
}