toJson method
Implementation
Map<String, dynamic> toJson() {
final access = this.access;
final grantee = this.grantee;
final granteeType = this.granteeType;
return {
if (access != null) 'Access': access,
if (grantee != null) 'Grantee': grantee,
if (granteeType != null) 'GranteeType': granteeType,
};
}